14 lines
324 B
Rust
14 lines
324 B
Rust
use chrono::{DateTime, Utc};
|
|
use serde::{Deserialize, Serialize};
|
|
use sqlx::FromRow;
|
|
use uuid::Uuid;
|
|
|
|
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
|
|
pub struct RepoForkModel {
|
|
pub id: Uuid,
|
|
pub repo: Uuid,
|
|
pub source_repo: Uuid,
|
|
pub forked_by: Uuid,
|
|
pub created_at: DateTime<Utc>,
|
|
}
|