use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use sqlx::FromRow;
use uuid::Uuid;

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
pub struct RepoLicenseModel {
    pub repo: Uuid,
    pub spdx_id: Option<String>,
    pub name: String,
    pub url: Option<String>,
    pub detected_at: DateTime<Utc>,
}
