feat: init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
use crate::models::common::SubscriptionLevel;
|
||||
use chrono::{DateTime, Utc};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)]
|
||||
pub struct RepoWatch {
|
||||
pub id: Uuid,
|
||||
pub repo_id: Uuid,
|
||||
pub user_id: Uuid,
|
||||
pub level: SubscriptionLevel,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub updated_at: DateTime<Utc>,
|
||||
}
|
||||
Reference in New Issue
Block a user