srm_po_occupy.cs 2.8 KB

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