support English
This commit is contained in:
1 parent
138a3d15d8
commit
b8ed110459
36 files changed
+523
-118
No files matched your search
@@ -0,0 +1,12 @@
|
||||
use serde::Serialize;
|
||||
use sqlx::types::Json as SqlxJson;
|
||||
|
||||
#[derive(Debug, Serialize, sqlx::FromRow)]
|
||||
pub struct SponsorRow {
|
||||
pub slug: String,
|
||||
pub name_th: String,
|
||||
pub name_en: Option<String>,
|
||||
pub website_url: Option<String>,
|
||||
pub display_order: i16,
|
||||
pub meta: SqlxJson<serde_json::Value>,
|
||||
}
|
||||
Reference in new issue
Block a user