mo_mes_work_calendar.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. using Business.Core.Attributes;
  2. using Bussiness.MongoModel;
  3. using Microsoft.EntityFrameworkCore;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations;
  6. namespace Bussiness.MongoModel.Tech
  7. {
  8. /// <summary>
  9. /// 工作日历
  10. /// </summary>
  11. [CollectionName("dopbase", "mo_mes_work_calendar")]
  12. [Comment("工作日历")]
  13. public class mo_mes_work_calendar : MoBaseEntity
  14. {
  15. ///// <summary>
  16. ///// 工作日历主键
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("工作日历主键")]
  20. //public long work_calendar_id { get; set; }
  21. /// <summary>
  22. /// 工作日历编码
  23. /// </summary>
  24. [StringLength(100)]
  25. [Comment("工作日历编码")]
  26. public string? work_calendar_no { get; set; }
  27. /// <summary>
  28. /// 工作日历名称
  29. /// </summary>
  30. [StringLength(100)]
  31. [Comment("工作日历名称")]
  32. public string? work_calendar_name { get; set; }
  33. /// <summary>
  34. /// 班制id
  35. /// </summary>
  36. [Comment("班制id")]
  37. public long? shift_id { get; set; }
  38. /// <summary>
  39. /// 开始时间
  40. /// </summary>
  41. [Comment("开始时间")]
  42. public DateTime? start_time { get; set; }
  43. /// <summary>
  44. /// 结束时间
  45. /// </summary>
  46. [Comment("结束时间")]
  47. public DateTime? end_time { get; set; }
  48. /// <summary>
  49. /// 标准周期
  50. /// </summary>
  51. [Comment("标准周期")]
  52. public int? standard_period { get; set; }
  53. /// <summary>
  54. /// 工作周期
  55. /// </summary>
  56. [Comment("工作周期")]
  57. public int? work_period { get; set; }
  58. /// <summary>
  59. /// 休息周期
  60. /// </summary>
  61. [Comment("休息周期")]
  62. public int? rest_period { get; set; }
  63. /// <summary>
  64. /// 周1
  65. /// </summary>
  66. [Comment("周1")]
  67. public int? calendar1 { get; set; }
  68. /// <summary>
  69. /// 周2
  70. /// </summary>
  71. [Comment("周2")]
  72. public int? calendar2 { get; set; }
  73. /// <summary>
  74. /// 周3
  75. /// </summary>
  76. [Comment("周3")]
  77. public int? calendar3 { get; set; }
  78. /// <summary>
  79. /// 周4
  80. /// </summary>
  81. [Comment("周4")]
  82. public int? calendar4 { get; set; }
  83. /// <summary>
  84. /// 周5
  85. /// </summary>
  86. [Comment("周5")]
  87. public int? calendar5 { get; set; }
  88. /// <summary>
  89. /// 周6
  90. /// </summary>
  91. [Comment("周6")]
  92. public int? calendar6 { get; set; }
  93. /// <summary>
  94. /// 周7
  95. /// </summary>
  96. [Comment("周7")]
  97. public int? calendar7 { get; set; }
  98. }
  99. }