use serde::{Deserialize, Serialize};
use chrono::{DateTime, Utc};
use crate::domain::record_id::RecordId;

#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct GuestShare {
    pub id: RecordId,
    pub storage_path: String,
    pub name: String,
    pub mime_type: String,
    pub size: u64,
    pub is_encrypted: bool,
    pub encrypted_metadata: Option<Vec<u8>>,
    pub salt: Option<Vec<u8>>,
    pub created_at: DateTime<Utc>,
    pub expires_at: DateTime<Utc>,
    pub is_multipart: bool,
    pub chunk_size: Option<u64>,
}
