como/como_domain/src/projects/mod.rs

15 lines
350 B
Rust
Raw Normal View History

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,
pub description: Option<String>,
2022-10-03 22:20:01 +02:00
}