use crate::models::common::{EventType, LinkType}; use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use uuid::Uuid; #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)] pub struct ChannelRepoLink { pub id: Uuid, pub channel_id: Uuid, pub repo_id: Uuid, pub link_type: LinkType, pub notify_events: Vec, pub active: bool, pub created_by: Uuid, pub created_at: DateTime, pub updated_at: DateTime, }