15 lines
353 B
Rust
15 lines
353 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 WkGroupModel {
|
|
pub id: Uuid,
|
|
pub name: String,
|
|
pub wk: Uuid,
|
|
pub created_at: DateTime<Utc>,
|
|
pub avatar_url: Option<String>,
|
|
pub is_deleted: bool,
|
|
}
|