17 lines
397 B
Rust
17 lines
397 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 WkJoinApprovalModel {
|
|
pub id: Uuid,
|
|
pub apply: Uuid,
|
|
pub wk: Uuid,
|
|
pub user: Uuid,
|
|
pub approver: Uuid,
|
|
pub approved: bool,
|
|
pub reason: Option<String>,
|
|
pub created_at: DateTime<Utc>,
|
|
}
|