12 lines
277 B
Rust
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,
|
|
}
|