using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using PSTW_CentralSystem.Models; namespace PSTW_CentralSystem.Areas.OTcalculate.Models { public class CalendarModel { [Key] public int HolidayId { get; set; } public required string HolidayName { get; set; } public DateTime HolidayDate { get; set; } public int StateId { get; set; } [ForeignKey("StateId")] public virtual StateModel? States { get; set; } public DateTime LastUpdated { get; set; } } }