This commit is contained in:
Alex Emmet 2026-04-30 13:49:22 +02:00
commit b6dba5fc88
4 changed files with 15 additions and 12 deletions

View file

@ -1,4 +1,5 @@
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use uuid::Uuid;
use crate::enums::ToDoStatus;
@ -11,7 +12,7 @@ const MIN_PRIORITY: u32 = 1;
const MAX_PRIORITY: u32 = 1000;
const DEFAULT_PRIORITY: u32 = 100;
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ToDo {
pub id: Uuid,
pub title: String,