using System;

namespace WarehouseAppSHIPS.Models
{
    public class AppNotification
    {
        public int Id { get; set; }

        // KITA KASIH NILAI DEFAULT "Semua" BIAR DATABASE NGGAK NGAMUK KARENA KOSONG
        public string TargetUserOrRole { get; set; } = "Semua";

        public string Title { get; set; }
        public string Message { get; set; }
        public string ActionUrl { get; set; }

        public DateTime CreatedAt { get; set; } = DateTime.Now;
        public bool IsRead { get; set; } = false;
    }
}