15 lines
378 B
Rust
15 lines
378 B
Rust
use chrono::{DateTime, Utc};
|
|
use serde::{Deserialize, Serialize};
|
|
use uuid::Uuid;
|
|
|
|
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
|
|
pub struct PrSubscription {
|
|
pub id: Uuid,
|
|
pub pull_request_id: Uuid,
|
|
pub user_id: Uuid,
|
|
pub reason: String,
|
|
pub muted: bool,
|
|
pub created_at: DateTime<Utc>,
|
|
pub updated_at: DateTime<Utc>,
|
|
}
|