canteenlib/dto/
canteen_request.rsuse serde::{Deserialize, Serialize};
use uuid::Uuid;
use crate::jsonb::feedback::Feedback;
use crate::jsonb::schedule::Schedule;
use crate::jsonb::setting::Setting;
#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct CanteenRequest {
pub id: Option<Uuid>,
pub org_id: Uuid,
pub name: String,
pub settings: Setting,
pub schedule: Vec<Schedule>,
pub room_id: Option<Uuid>,
pub building_id: Option<Uuid>,
pub floor_id: Option<Uuid>,
pub feedbacks: Option<Vec<Feedback>>,
}