using System.ComponentModel.DataAnnotations; using Dlhis.Entity.Basic.Enums; namespace Dlhis.Basic.Common.Holiday.Requests; public class HolidayRequest { public long? Id { get; set; } /// /// 年份 /// public int Year { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 开始日期 /// public DateOnly Start { get; set; } /// /// 结束日期 /// public DateOnly End { get; set; } /// /// 节假日类型 HolidayEnumType /// [EnumDataType(typeof(HolidayEnumType))] public HolidayEnumType Type { get; set; } }