como/como_domain/src/item/requests.rs
kjuulh 12c7c8f6ee
feat: working projects and items
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-05-28 17:17:22 +02:00

12 lines
277 B
Rust

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,
}