shipd_core/models/
task.rs1#[derive(Debug, Clone, PartialEq)]
2pub enum Status {
3 Todo,
4 InProgress,
5 Done,
6}
7
8#[derive(Debug, Clone, PartialEq)]
9pub enum Priority {
10 Low,
11 Medium,
12 High,
13 Urgent,
14}
15
16#[derive(Debug, Clone, PartialEq)]
17pub struct Task {
18 pub id: i64,
19 pub title: String,
20 pub description: Option<String>,
21 pub status: String,
22 pub priority: String,
23 pub project_id: Option<i64>,
24 pub due_date: Option<String>,
25 pub created_at: String,
26 pub updated_at: String,
27}