Skip to main content

levi_core/entities/
comment.rs

1use myko::prelude::*;
2
3/// Append-only comment. id = uuid.
4#[myko_item]
5pub struct Comment {
6    pub project_id: String,
7    pub task_id: String,
8    #[searchable]
9    pub body: String,
10    pub by_dev: String,
11    /// RFC3339
12    pub created: String,
13}