π microtasks
The Microtask model represents a smaller, more granular unit of work that is part of a larger Task. Microtasks help divide responsibilities into manageable parts.
π§© Microtask Model
π Attributes:
π id (
Integer): Unique identifier for the microtask (Primary Key).π task_id (
ForeignKey): Reference to the parent task this microtask belongs to.π name (
String): The name of the microtask.π description (
Text): Detailed explanation of the microtask.π percentage_complete (
Float): Completion progress of the microtask (0.0 to 100.0).π date_created (
DateTime): Timestamp when the microtask was created.π¦ status (
enum type): Current status ("undone" , "under_review" , "approved")π due_date (
DateTime): Optional deadline for completing the microtask.
π Relationships:
β task: Belongs to a
Task.π₯ users_link: Linked users via
ProjectsUsersMicrotask.
π MicrotasksFile Model
The MicrotasksFile model links files to microtasks, allowing additional resources or documentation to be attached.
π Attributes:
π id (
Integer): Unique identifier for the file relation.π§© microtasks_id (
ForeignKey): The related microtask.π files_id (
ForeignKey): The attached file.
π Relationships:
π files: The attached
File.π§© microtasks: The associated
Microtask.
π¬ MicrotaskComment Model
The MicrotaskComment model allows users to comment on specific microtasks to facilitate communication and feedback.
π Attributes:
π id (
Integer): Unique identifier for the comment.π€ user_id (
ForeignKey): ID of the user who posted the comment.π§© microtask_id (
ForeignKey): ID of the microtask being commented on.π time_posted (
DateTime): Timestamp of when the comment was posted.βοΈ content (
Text): The text of the comment.
π Relationships:
π€ user: The
Userwho wrote the comment.π§© microtask: The
Microtaskthis comment belongs to.
ππ¬ MicrotaskCommentsFile Model
The MicrotaskCommentsFile model allows files to be attached to individual comments on microtasks.
π Attributes:
π id (
Integer): Unique identifier for the comment-file relation.π¬ microtask_comments_id (
ForeignKey): The comment associated with the file.π files_id (
ForeignKey): The attached file.
π Relationships:
π files: The
Filebeing linked.π¬ microtask_comments: The
MicrotaskCommentthis file supports.
Last updated