como/como_domain/src/projects/mod.rs
kjuulh 6dc0c24443
feat: with create project
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-05-28 16:25:25 +02:00

18 lines
394 B
Rust

pub mod mutation;
pub mod queries;
pub mod requests;
pub mod responses;
use async_graphql::{InputObject, SimpleObject};
use serde::{Deserialize, Serialize};
use uuid::Uuid;
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq, InputObject, SimpleObject)]
pub struct ProjectDto {
pub id: Uuid,
pub name: String,
pub description: Option<String>,
pub user_id: String,
}