17 lines
414 B
Rust
17 lines
414 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 RepoSecretModel {
|
|
pub id: Uuid,
|
|
pub repo: Uuid,
|
|
pub name: String,
|
|
pub encrypted_value: String,
|
|
pub key_id: String,
|
|
pub created_by: Uuid,
|
|
pub created_at: DateTime<Utc>,
|
|
pub updated_at: DateTime<Utc>,
|
|
}
|