BillBomsetgrp.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. using SqlSugar;
  2. namespace WCS.WorkEngineering.Model.WMS
  3. {
  4. /// <summary>
  5. /// 垛形主表
  6. /// </summary>
  7. [Tenant("fj")]
  8. [SugarTable("Bill_BomSetGrp", tableDescription: "垛形主表")]
  9. public partial class BillBomsetgrp
  10. {
  11. /// <summary>
  12. /// ID
  13. /// </summary>
  14. [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, ColumnDescription = "ID")]
  15. public virtual long Id { get; set; }
  16. /// <summary>
  17. /// 备注
  18. /// </summary>
  19. [SugarColumn(ColumnName = "Memo", Length = 500, IsNullable = true, ColumnDataType = "nvarchar", DefaultValue = "", ColumnDescription = "备注")]
  20. public virtual string Memo { get; set; }
  21. /// <summary>
  22. /// 创建用户
  23. /// </summary>
  24. [SugarColumn(ColumnName = "AddWho", Length = 50, ColumnDataType = "nvarchar", DefaultValue = "", IsNullable = false, ColumnDescription = "创建用户")]
  25. public virtual string AddWho { get; set; } = "";
  26. /// <summary>
  27. /// 更新用户
  28. /// </summary>
  29. [SugarColumn(ColumnName = "EditWho", Length = 50, ColumnDataType = "nvarchar", DefaultValue = "", IsNullable = false, ColumnDescription = "更新用户")]
  30. public virtual string EditWho { get; set; } = "";
  31. /// <summary>
  32. /// 创建时间
  33. /// </summary>
  34. [SugarColumn(ColumnName = "AddTime", DefaultValue = "1900-1-1", IsNullable = false, ColumnDescription = "创建时间")]
  35. public virtual DateTime AddTime { get; set; } = DateTime.Now;
  36. /// <summary>
  37. /// 更新时间
  38. /// </summary>
  39. [SugarColumn(ColumnName = "EditTime", DefaultValue = "1900-1-1", IsNullable = false, ColumnDescription = "更新时间")]
  40. public virtual DateTime EditTime { get; set; } = DateTime.Now;
  41. /// <summary>
  42. /// 是否停用
  43. /// </summary>
  44. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否停用")]
  45. public int IsStop { get; set; }
  46. /// <summary>
  47. /// 垛型编码
  48. /// </summary>
  49. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "垛型编码")]
  50. public string Code { get; set; }
  51. /// <summary>
  52. /// 短垛型编码
  53. /// </summary>
  54. [SugarColumn(ColumnDataType = "smallint", IsNullable = false, ColumnDescription = "短垛型编码")]
  55. public short ShortCode { get; set; }
  56. /// <summary>
  57. /// 垛型名称
  58. /// </summary>
  59. [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = false, ColumnDescription = "垛型名称")]
  60. public string Name { get; set; }
  61. /// <summary>
  62. /// BomCode(投料信息)
  63. /// </summary>
  64. [SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = false, ColumnDescription = "BomCode(投料信息)")]
  65. public string BomCode { get; set; }
  66. /// <summary>
  67. /// 帘线物料编码
  68. /// </summary>
  69. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "帘线物料编码")]
  70. public string ProMaterCode { get; set; }
  71. /// <summary>
  72. /// 工字轮个数
  73. /// </summary>
  74. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "工字轮个数")]
  75. public int HWCountQty { get; set; }
  76. /// <summary>
  77. /// 托盘类型
  78. /// </summary>
  79. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "托盘类型")]
  80. public string TpTypeCode { get; set; }
  81. /// <summary>
  82. /// 层数
  83. /// </summary>
  84. [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "层数")]
  85. public int LayerCountQty { get; set; }
  86. /// <summary>
  87. /// 垛型大类
  88. /// </summary>
  89. [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "垛型大类")]
  90. public int StampType { get; set; }
  91. /// <summary>
  92. /// 是否在桁架进行码垛
  93. /// </summary>
  94. [SugarColumn(IsNullable = true, ColumnDescription = "是否在桁架进行码垛")]
  95. public bool IsTruss { get; set; }
  96. }
  97. }