first commit

This commit is contained in:
phattaranun.a committed 2026-05-24 22:55:17 +07:00
commit 2a1854ab08
120 files changed
+11300

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
use serde::Serialize;
use sqlx::types::Json as SqlxJson;
#[derive(Debug, Serialize, sqlx::FromRow)]
pub struct StopDetail {
pub id: i32,
pub code: String,
pub name_th: String,
pub city_th: Option<String>,
pub province_th: Option<String>,
pub station_type: String,
pub attributes: SqlxJson<serde_json::Value>,
pub metadata: SqlxJson<serde_json::Value>,
pub images: SqlxJson<serde_json::Value>,
pub routes: SqlxJson<serde_json::Value>,
pub lng: Option<f64>,
pub lat: Option<f64>,
}