HolidayMaster.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using Microsoft.EntityFrameworkCore;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Business.Domain
  9. {
  10. /// <summary>
  11. /// 节假日记录表
  12. /// </summary>
  13. [Comment("节假日记录表")]
  14. public class HolidayMaster
  15. {
  16. /// <summary>
  17. /// 主键
  18. /// </summary>
  19. [Comment("主键")]
  20. [Key]
  21. public int RecID { get; set; }
  22. /// <summary>
  23. /// 域名
  24. /// </summary>
  25. [Comment("域名")]
  26. public string Domain { get; set; }
  27. /// <summary>
  28. /// 日期
  29. /// </summary>
  30. [Comment("日期")]
  31. public DateTime? Dated { get; set; }
  32. /// <summary>
  33. /// 节假日描述
  34. /// </summary>
  35. [Comment("节假日描述")]
  36. public string Holiday { get; set; }
  37. /// <summary>
  38. /// 节假日类型:休假(不计算产能);调班(计算产能)
  39. /// </summary>
  40. [Comment("节假日类型")]
  41. public string Ufld1 { get; set; }
  42. /// <summary>
  43. /// 是否有效
  44. /// </summary>
  45. [Comment("是否有效")]
  46. public bool IsActive { get; set; }
  47. }
  48. }