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

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
pub struct RepoReleaseAssetModel {
    pub id: Uuid,
    pub release_id: Uuid,
    pub name: String,
    pub content_type: Option<String>,
    pub size: i64,
    pub download_count: i64,
    pub storage_path: String,
    pub uploader: Uuid,
    pub created_at: DateTime<Utc>,
}
