Files
jinko.yikatong/Src/Dlhis.Basic/Common/Holiday/Responses/HolidayResponse.cs
2025-06-17 15:59:38 +08:00

39 lines
785 B
C#

using Dlhis.Entity.Basic.Enums;
using Kurisu.AspNetCore.Utils.Extensions;
namespace Dlhis.Basic.Common.Holiday.Responses;
public class HolidayResponse
{
public long Id { get; set; }
/// <summary>
/// 假日类型
/// </summary>
public HolidayEnumType Type { get; set; }
/// <summary>
/// 假日类型描述
/// </summary>
public string TypeDesc => Type.GetDescription();
/// <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; }
}