This commit is contained in:
2025-08-21 17:26:40 +02:00
parent 58ed59cd12
commit 095a4d0c69
96 changed files with 1070 additions and 10 deletions

View File

@@ -0,0 +1,53 @@
module projects
import base
// Priority represents the priority level of a project item
pub enum Priority {
critical
high
medium
low
none
}
// Status represents the current status of a project item
pub enum Status {
todo
in_progress
review
done
archived
}
// ItemType represents the type of a project item
pub enum ItemType {
epic
story
task
bug
improvement
feature
}
// Project represents a project in the system
pub struct Project {
base.Base
pub mut:
name string
description string
owner_id u32 // ID of the user who owns this project
member_ids []u32 // IDs of the users who are members of this project
board_ids []u32 // IDs of the kanban boards in this project
sprint_ids []u32 // IDs of the sprints in this project
epic_ids []u32 // IDs of the epics in this project
tags []string
}
// Label represents a label that can be applied to project items
pub struct Label {
base.Base
pub mut:
name string
color string // Hex color code
}