19 lines
436 B
Rust
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,
|
|
}
|