use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use sqlx::FromRow;
use uuid::Uuid;

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
pub struct WkMemberModel {
    pub wk: Uuid,
    pub user: Uuid,
    pub owner: bool,
    pub admin: bool,
    pub join_at: DateTime<Utc>,
    pub leave_at: Option<DateTime<Utc>>,
}
