mes_stockoccupy.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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", "mes_stockoccupy")]
  11. [Comment("成品库存占用表")]
  12. public class mes_stockoccupy : BaseEntity
  13. {
  14. ///// <summary>
  15. ///// 成品库存占用id
  16. ///// </summary>
  17. //[Key]
  18. //[Comment("成品库存占用id")]
  19. //public long soccupy_id { get; set; }
  20. /// <summary>
  21. /// 类型
  22. /// </summary>
  23. [Required]
  24. [StringLength(50)]
  25. [Comment("类型")]
  26. public string soccupy_type { get; set; }
  27. /// <summary>
  28. /// 订单行id
  29. /// </summary>
  30. [Comment("订单行id")]
  31. public long? soentry_id { get; set; }
  32. /// <summary>
  33. /// 订单行号
  34. /// </summary>
  35. [Comment("订单行号")]
  36. public long? fentry_id { get; set; }
  37. /// <summary>
  38. /// 订单编号
  39. /// </summary>
  40. [StringLength(50)]
  41. [Comment("订单编号")]
  42. public string fbill_no { get; set; }
  43. /// <summary>
  44. /// 物料编码
  45. /// </summary>
  46. [StringLength(50)]
  47. [Comment("物料编码")]
  48. public string fitem_number { get; set; }
  49. /// <summary>
  50. /// 物料名称
  51. /// </summary>
  52. [StringLength(200)]
  53. [Comment("物料名称")]
  54. public string fitem_name { get; set; }
  55. /// <summary>
  56. /// 规格型号
  57. /// </summary>
  58. [StringLength(200)]
  59. [Comment("规格型号")]
  60. public string fmodel { get; set; }
  61. /// <summary>
  62. /// 仓库id
  63. /// </summary>
  64. [Comment("仓库id")]
  65. public long warehouse_id { get; set; }
  66. /// <summary>
  67. /// 仓库名称
  68. /// </summary>
  69. [StringLength(80)]
  70. [Comment("仓库名称")]
  71. public string warehouse_name { get; set; }
  72. /// <summary>
  73. /// 仓库类型
  74. /// </summary>
  75. [StringLength(50)]
  76. [Comment("仓库类型")]
  77. public string warehouse_type { get; set; }
  78. /// <summary>
  79. /// 占用量
  80. /// </summary>
  81. [Precision(20, 2)]
  82. [Comment("占用量")]
  83. public decimal? occupyqty { get; set; }
  84. /// <summary>
  85. /// 开始时间
  86. /// </summary>
  87. [Comment("开始时间")]
  88. public DateTime? soccupy_stime { get; set; }
  89. /// <summary>
  90. /// 结束时间
  91. /// </summary>
  92. [Comment("结束时间")]
  93. public DateTime? soccupy_etime { get; set; }
  94. /// <summary>
  95. /// 占用状态
  96. /// </summary>
  97. [StringLength(50)]
  98. [Comment("占用状态")]
  99. public string soccupy_state { get; set; }
  100. /// <summary>
  101. /// 变更人
  102. /// </summary>
  103. [StringLength(50)]
  104. [Comment("变更人")]
  105. public string soccupy_cby { get; set; }
  106. /// <summary>
  107. /// 变更时间
  108. /// </summary>
  109. [Comment("变更时间")]
  110. public DateTime? soccupy_ctime { get; set; }
  111. /// <summary>
  112. /// 变更原因
  113. /// </summary>
  114. [StringLength(255)]
  115. [Comment("变更原因")]
  116. public string soccupy_creason { get; set; }
  117. }
  118. }