mo_srm_po_occupy.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. using Business.Core.Attributes;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.ComponentModel.DataAnnotations;
  5. namespace Business.Domain
  6. {
  7. /// <summary>
  8. /// 采购订单占用详情
  9. /// </summary>
  10. [CollectionName("dopbase", "mo_srm_po_occupy")]
  11. [Comment("采购订单占用详情")]
  12. public class mo_srm_po_occupy : MoBaseEntity
  13. {
  14. /// <summary>
  15. /// 采购订单id
  16. /// </summary>
  17. [Required]
  18. [Comment("采购订单id")]
  19. public long polist_id { get; set; }
  20. /// <summary>
  21. /// 采购订单行号
  22. /// </summary>
  23. [Comment("采购订单行号")]
  24. public int? polist_row { get; set; }
  25. /// <summary>
  26. /// 客户订单行id
  27. /// </summary>
  28. [Comment("客户订单行id")]
  29. public long? eid { get; set; }
  30. /// <summary>
  31. /// 客户订单id
  32. /// </summary>
  33. [Comment("客户订单id")]
  34. public long? bill_no { get; set; }
  35. /// <summary>
  36. /// 工单ID
  37. /// </summary>
  38. [Comment("工单ID")]
  39. public long? morder_id { get; set; }
  40. /// <summary>
  41. /// 工单编号
  42. /// </summary>
  43. [Comment("工单编号")]
  44. public string morder_mo { get; set; }
  45. /// <summary>
  46. /// 类型
  47. /// </summary>
  48. [StringLength(80)]
  49. [Comment("类型")]
  50. public string? type { get; set; }
  51. /// <summary>
  52. /// 行号
  53. /// </summary>
  54. [Comment("行号")]
  55. public int entry_id { get; set; }
  56. /// <summary>
  57. /// 占用量
  58. /// </summary>
  59. [Precision(23, 10)]
  60. [Comment("占用量")]
  61. public decimal? qty { get; set; }
  62. /// <summary>
  63. /// 开始时间
  64. /// </summary>
  65. [Comment("开始时间")]
  66. public DateTime? stime { get; set; }
  67. /// <summary>
  68. /// 结束时间
  69. /// </summary>
  70. [Comment("结束时间")]
  71. public DateTime? etime { get; set; }
  72. /// <summary>
  73. /// 占用状态
  74. /// </summary>
  75. [Comment("占用状态")]
  76. public int? state { get; set; }
  77. /// <summary>
  78. /// 变更人
  79. /// </summary>
  80. [StringLength(80)]
  81. [Comment("变更人")]
  82. public string? cby { get; set; }
  83. /// <summary>
  84. /// 变更原因
  85. /// </summary>
  86. [StringLength(1000)]
  87. [Comment("变更原因")]
  88. public string? creason { get; set; }
  89. /// <summary>
  90. /// 变更时间
  91. /// </summary>
  92. [Comment("变更时间")]
  93. public DateTime? ctime { get; set; }
  94. /// <summary>
  95. /// 计算ID
  96. /// </summary>
  97. [Comment("计算id")]
  98. public long? bang_id { get; set; }
  99. }
  100. }