gitdataai/lib/model/workspace/wk_gp_role.rs
2026-05-30 01:38:40 +08:00

19 lines
436 B
Rust

use serde::{Deserialize, Serialize};
use sqlx::FromRow;
use uuid::Uuid;
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
pub struct WkGpRoleModel {
pub wk: Uuid,
pub gp: Uuid,
pub repo_read: bool,
pub repo_write: bool,
pub channel_read: bool,
pub channel_write: bool,
pub ai_read: bool,
pub ai_write: bool,
pub pr_review: bool,
pub issues_ass: bool,
pub log_view: bool,
}