Files
EmailBill/Entity/Holiday.cs
SunCheng 51172e8c5a
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 4m27s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
fix
2026-02-11 13:00:01 +08:00

50 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace Entity;
/// <summary>
/// 节假日实体
/// </summary>
public class Holiday : BaseEntity
{
/// <summary>
/// 年份
/// </summary>
[Column]
public int Year { get; set; }
/// <summary>
/// 日期类型1=节假日放假3=调休工作日
/// </summary>
[Column]
public int DayType { get; set; }
/// <summary>
/// 节假日名称(如:春节、国庆节)
/// </summary>
[Column(StringLength = 50)]
public string HolidayName { get; set; } = string.Empty;
/// <summary>
/// 是否休息1=休息0=工作
/// </summary>
[Column]
public int Rest { get; set; }
/// <summary>
/// 日期yyyy-MM-dd格式
/// </summary>
[Column(StringLength = 10)]
public string Date { get; set; } = string.Empty;
/// <summary>
/// 星期几0=周日1-6=周一至周六)
/// </summary>
[Column]
public int Week { get; set; }
/// <summary>
/// 星期描述(中文)
/// </summary>
[Column(StringLength = 10)]
public string WeekDescCn { get; set; } = string.Empty;
}