use chrono::{DateTime, Utc}; use uuid::Uuid; #[derive(Debug, Clone)] pub struct SubmissionEntity { pub id: Uuid, pub team_id: Uuid, pub project_name: String, pub description: String, pub repository_url: String, pub demo_url: Option, pub presentation_url: Option, pub screenshots: Option>, pub status: String, pub submitted_at: Option>, pub submitted_by: Uuid, pub created_at: Option>, pub updated_at: Option>, } #[derive(Debug, Default)] pub struct CreateSubmissionInput { pub project_name: String, pub description: String, pub repository_url: String, pub demo_url: Option, pub presentation_url: Option, pub screenshots: Option>, } #[derive(Debug, Default)] pub struct UpdateSubmissionInput { pub project_name: Option, pub description: Option, pub repository_url: Option, pub demo_url: Option, pub presentation_url: Option, pub screenshots: Option>, }