//! relay_tasks 表相关模型 use sqlx::FromRow; /// relay_tasks 表行 #[derive(Debug, FromRow)] pub struct RelayTaskRow { pub id: String, pub account_id: String, pub provider_id: String, pub model_id: String, pub status: String, pub priority: i32, pub attempt_count: i32, pub max_attempts: i32, pub input_tokens: i32, pub output_tokens: i32, pub error_message: Option, pub queued_at: String, pub started_at: Option, pub completed_at: Option, pub created_at: String, }