Files
gitks/models/prs/pr_labels.rs
T
2026-06-07 11:30:56 +08:00

16 lines
411 B
Rust

use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use uuid::Uuid;
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
pub struct PrLabel {
pub id: Uuid,
pub repo_id: Uuid,
pub name: String,
pub color: String,
pub description: Option<String>,
pub created_by: Option<Uuid>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}