projectlib/dto/document_response.rs
use serde::{Deserialize, Serialize};
use uuid::Uuid;
#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct DocumentResponse {
pub id: Uuid,
pub name: String,
pub project: Uuid,
pub text: String,
pub author: Uuid,
pub parent: Option<Uuid>,
}