17 lines
446 B
Rust
17 lines
446 B
Rust
use chrono::{DateTime, Utc};
|
|
use serde::{Deserialize, Serialize};
|
|
use sqlx::FromRow;
|
|
use uuid::Uuid;
|
|
|
|
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
|
|
pub struct WkJoinStrategyModel {
|
|
pub wk: Uuid,
|
|
pub require_approval: bool,
|
|
pub require_question: bool,
|
|
pub question: Option<String>,
|
|
pub answer: Option<String>,
|
|
pub enabled: bool,
|
|
pub created_at: DateTime<Utc>,
|
|
pub updated_at: DateTime<Utc>,
|
|
}
|