🏷️labels
🏷️ Label
Represents a tag or marker that belongs to a specific project, which can be assigned to a user and later used to automatically assign tasks.
🧩 Fields:
🆔
id
(Integer
): Unique identifier of the label.📌
project_id
(ForeignKey
): ID of the project to which the label belongs. Required.🏷️
label_name
(Text
): The label's name (e.g.,urgent
,research
). Required.🎨
label_hex_color
(Text
): Color in HEX format used for visual styling (e.g.,#FF5733
). Required.
🔗 Relationships:
🔄
project
: Links this label to its parent project.
🔗 LabelsTask
Associates a label with a task.
🧩 Fields:
🆔
id
(Integer
): Unique ID for the label-task link.🏷️
labels_id
(ForeignKey
): The label’s ID. Required.✅
tasks_id
(ForeignKey
): The task’s ID. Required.
🔗 Relationships:
🏷️
labels
: Links to theLabel
model.📋
tasks
: Links to theTask
model.
🔗LabelsTemplate
Associates a label with a template.
🧩 Fields:
🆔
id
(Integer
): Unique ID for the label-template link.🏷️
labels_id
(ForeignKey
): The label’s ID. Required.📑
templates_id
(ForeignKey
): The template’s ID. Required.
🔗 Relationships:
🏷️
labels
: Links to theLabel
model.📑
templates
: Links to theTemplate
model.
🔗 LabelsProjectsUser
Associates a label with a user in the context of a project.
🧩 Fields:
🆔
id
(Integer
): Unique ID for the label-user-project link.🏷️
labels_id
(ForeignKey
): The label’s ID. Required.👤
projects_users_id
(ForeignKey
): The user-project ID (from the join table). Required.
🔗 Relationships:
🏷️
labels
: Links to theLabel
model.👥
projects_users
: Links to theProjectsUser
model (a user’s assignment to a project).
Last updated