HolidayMaster.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.Model.Production
  9. {
  10. /// <summary>
  11. /// 节假日记录表
  12. /// </summary>
  13. public class HolidayMaster
  14. {
  15. /// <summary>
  16. /// 主键
  17. /// </summary>
  18. [Comment("主键")]
  19. [Key]
  20. public int RecID { get; set; }
  21. /// <summary>
  22. /// 域名
  23. /// </summary>
  24. [Comment("域名")]
  25. public string Domain { get; set; }
  26. /// <summary>
  27. /// 日期
  28. /// </summary>
  29. [Comment("日期")]
  30. public DateTime? Dated { get; set; }
  31. /// <summary>
  32. /// 节假日描述
  33. /// </summary>
  34. [Comment("节假日描述")]
  35. public string? Holiday { get; set; }
  36. /// <summary>
  37. /// 节假日类型:休假(不计算产能);调休(计算产能)
  38. /// </summary>
  39. [Comment("节假日类型")]
  40. public string? Ufld1 { get; set; }
  41. /// <summary>
  42. /// 是否有效
  43. /// </summary>
  44. [Comment("是否有效")]
  45. public int IsActive { get; set; }
  46. }
  47. }