18 lines
394 B
Rust
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,
|
|
}
|