Sys_Calendar.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Entities.System
  7. {
  8. /// <summary>
  9. /// 日历表
  10. /// </summary>
  11. [SugarTable("Sys_Calendar")]
  12. public class Sys_Calendar : EntityBase
  13. {
  14. /// <summary>
  15. /// 年月日
  16. /// </summary>
  17. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  18. public string Dt { get; set; }
  19. /// <summary>
  20. /// 是否是工作日
  21. /// true false
  22. /// </summary>
  23. [SugarColumn(IsNullable = true, ColumnDataType = "bit")]
  24. public bool IsWorkDay { get; set; }
  25. /// <summary>
  26. /// 是否是节假日
  27. /// 0 true 1 false
  28. /// </summary>
  29. [SugarColumn(IsNullable = true, ColumnDataType = "bit)")]
  30. public bool IsHoliDay { get; set; }
  31. /// <summary>
  32. /// 节假日名称
  33. /// </summary>
  34. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  35. public string HoliName { get; set; }
  36. }
  37. }