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