15 lines
356 B
Rust
15 lines
356 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 RepoLfsLockModel {
|
|
pub id: Uuid,
|
|
pub repo: Uuid,
|
|
pub path: String,
|
|
pub locked_by: Uuid,
|
|
pub ref_name: Option<String>,
|
|
pub created_at: DateTime<Utc>,
|
|
}
|