feat: working projects and items

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-05-28 17:17:22 +02:00
parent 6dc0c24443
commit 12c7c8f6ee
10 changed files with 98 additions and 39 deletions

View File

@@ -1,7 +1,11 @@
use async_graphql::InputObject;
use serde::{Deserialize, Serialize};
use uuid::Uuid;
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq, InputObject)]
pub struct CreateItemDto {
pub name: String,
pub description: Option<String>,
pub project_id: Uuid,
}