namespace eSPJ.Models
{
    public class HistoryItem
    {
        public int Id { get; set; }
        public string NoSpj { get; set; } = string.Empty;
        public string Plat { get; set; } = string.Empty;
        public string Kode { get; set; } = string.Empty;
        public string Tujuan { get; set; } = string.Empty;
        public string Status { get; set; } = string.Empty;
        public DateTime TanggalWaktu { get; set; }
    }

    public class HistoryListResponse
    {
        public List<HistoryItem> Items { get; set; } = new();
        public int Page { get; set; }
        public int PageSize { get; set; }
        public int TotalItems { get; set; }
        public int TotalPages { get; set; }
        public string? FromDate { get; set; }
        public string? ToDate { get; set; }
    }
}
