ItemMaster.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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.Domain
  9. {
  10. /// <summary>
  11. /// 物料主表
  12. /// </summary>
  13. [Comment("物料主表")]
  14. public class ItemMaster
  15. {
  16. /// <summary>
  17. /// 主键
  18. /// </summary>
  19. [Comment("主键")]
  20. [Key]
  21. public int RecID { get; set; }
  22. /// <summary>
  23. /// 域名
  24. /// </summary>
  25. [Comment("域名")]
  26. public string Domain { get; set; }
  27. /// <summary>
  28. /// 物料编号
  29. /// </summary>
  30. [Comment("物料编号")]
  31. public string ItemNum { get; set; }
  32. /// <summary>
  33. /// 单位
  34. /// </summary>
  35. [Comment("单位")]
  36. public string UM { get; set; }
  37. /// <summary>
  38. /// 安全库存
  39. /// </summary>
  40. [Comment("安全库存")]
  41. public decimal? SafetyStk { get; set; }
  42. /// <summary>
  43. /// 状态:C为不可用状态
  44. /// </summary>
  45. [Comment("状态")]
  46. public string Status { get; set; }
  47. /// <summary>
  48. /// 状态:C为不可用状态
  49. /// </summary>
  50. [Comment("状态")]
  51. public string Location { get; set; }
  52. public string Descr { get; set; }
  53. public string Descr1 { get; set; }
  54. public string PurMfg { get; set; }
  55. public bool IsMainMas { get; set; }
  56. public decimal? NetWeight { get; set; }
  57. public string NetWeightUM { get; set; }
  58. public decimal? Length { get; set; }
  59. public decimal? Width { get; set; }
  60. public decimal? Height { get; set; }
  61. public bool LotSerialControl { get; set; }
  62. public string DefaultShelf { get; set; }
  63. public decimal? MaxOrd { get; set; }
  64. public decimal? MinOrd { get; set; }
  65. /// <summary>
  66. /// 前处理天数
  67. /// </summary>
  68. public decimal MFGMTTR { get; set; }
  69. /// <summary>
  70. /// 是否前处理
  71. /// </summary>
  72. [Comment("是否前处理")]
  73. public bool IssuePolicy { get; set; }
  74. /// <summary>
  75. /// 是否有效:1-有效;0-无效
  76. /// </summary>
  77. [Comment("是否有效")]
  78. public bool IsActive { get; set; }
  79. /// <summary>
  80. /// 是否有效:1-有效;0-无效
  81. /// </summary>
  82. [Comment("是否整包发料")]
  83. public bool TraceDetail { get; set; }
  84. /// <summary>
  85. /// 供应提前期
  86. /// </summary>
  87. [Comment("供应提前期")]
  88. public int PurLT { get; set; }
  89. /// <summary>
  90. /// 存货周转率
  91. /// </summary>
  92. [Comment("存货周转率")]
  93. public decimal StockTurnOver { get; set; }
  94. /// <summary>
  95. /// 物料类型
  96. /// </summary>
  97. public string ItemType { get; set; }
  98. }
  99. }