omni_orchestrator/schemas/v1/models/platform.rs
1use serde::{Deserialize, Serialize};
2use chrono::{DateTime, Utc};
3
4#[derive(Debug, sqlx::FromRow, Serialize, Deserialize, Clone, Default)]
5pub struct Platform {
6 pub id: Option<i64>,
7 pub name: String,
8 pub description: String,
9 pub table_name: Option<String>,
10 pub subdomain: Option<String>,
11 pub created_at: Option<DateTime<Utc>>,
12 pub updated_at: Option<DateTime<Utc>>,
13 pub deleted_at: Option<DateTime<Utc>>,
14}