fix
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

This commit is contained in:
SunCheng
2026-02-11 13:00:01 +08:00
parent ca3e929770
commit 51172e8c5a
88 changed files with 10076 additions and 142 deletions

49
Entity/Holiday.cs Normal file
View File

@@ -0,0 +1,49 @@
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;
}