2023-05-28 16:25:25 +02:00
|
|
|
pub mod mutation;
|
2022-10-04 22:39:57 +02:00
|
|
|
pub mod queries;
|
2022-10-03 22:20:01 +02:00
|
|
|
pub mod requests;
|
|
|
|
pub mod responses;
|
|
|
|
|
2022-10-04 22:39:57 +02:00
|
|
|
use async_graphql::{InputObject, SimpleObject};
|
2022-10-03 22:20:01 +02:00
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
use uuid::Uuid;
|
|
|
|
|
2022-10-04 22:39:57 +02:00
|
|
|
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq, InputObject, SimpleObject)]
|
2022-10-03 22:20:01 +02:00
|
|
|
pub struct ProjectDto {
|
|
|
|
pub id: Uuid,
|
|
|
|
pub name: String,
|
2023-05-28 15:43:29 +02:00
|
|
|
pub description: Option<String>,
|
2023-05-28 16:25:25 +02:00
|
|
|
|
|
|
|
pub user_id: String,
|
2022-10-03 22:20:01 +02:00
|
|
|
}
|