13 lines
312 B
Rust
13 lines
312 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 WkGpMemberModel {
|
|
pub user: Uuid,
|
|
pub gp: Uuid,
|
|
pub join_at: DateTime<Utc>,
|
|
pub leave_at: Option<DateTime<Utc>>,
|
|
}
|