|
@@ -4,7 +4,6 @@ using ServiceCenter.Redis;
|
|
|
using ServiceCenter.SqlSugars;
|
|
|
using SqlSugar;
|
|
|
using WCS.Entity;
|
|
|
-using wms.sqlsugar.model.fj;
|
|
|
using TaskStatus = WCS.Entity.TaskStatus;
|
|
|
|
|
|
namespace WCS.WorkEngineering.Extensions
|
|
@@ -361,4 +360,253 @@ namespace WCS.WorkEngineering.Extensions
|
|
|
/// </summary>
|
|
|
public bool Finish { get; set; }
|
|
|
}
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 垛型明细表
|
|
|
+ /// </summary>
|
|
|
+ [SugarTable("Bill_BomSetInfo", tableDescription: "垛型明细表")]
|
|
|
+ public partial class BillBomsetinfo
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// ID
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, ColumnDescription = "ID")]
|
|
|
+ public virtual long Id { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 备注
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "Memo", Length = 500, IsNullable = true, ColumnDataType = "nvarchar", DefaultValue = "", ColumnDescription = "备注")]
|
|
|
+ public virtual string Memo { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 创建用户
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "AddWho", Length = 50, ColumnDataType = "nvarchar", DefaultValue = "", IsNullable = false, ColumnDescription = "创建用户")]
|
|
|
+ public virtual string AddWho { get; set; } = "";
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 更新用户
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "EditWho", Length = 50, ColumnDataType = "nvarchar", DefaultValue = "", IsNullable = false, ColumnDescription = "更新用户")]
|
|
|
+ public virtual string EditWho { get; set; } = "";
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 创建时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "AddTime", DefaultValue = "1900-1-1", IsNullable = false, ColumnDescription = "创建时间")]
|
|
|
+ public virtual DateTime AddTime { get; set; } = DateTime.Now;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 更新时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "EditTime", DefaultValue = "1900-1-1", IsNullable = false, ColumnDescription = "更新时间")]
|
|
|
+ public virtual DateTime EditTime { get; set; } = DateTime.Now;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 垛型id
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "bigint", IsNullable = false, ColumnDescription = "垛型id")]
|
|
|
+ public long BomSetHdrId { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否停用
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否停用")]
|
|
|
+ public int IsStop { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否空置
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否空置")]
|
|
|
+ public int IsEmpty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 坐标号
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "坐标号")]
|
|
|
+ public string XYNo { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 物料id
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "bigint", ColumnDescription = "物料id")]
|
|
|
+ public long MatId { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 物料编码
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", IsNullable = true, Length = 50, ColumnDescription = "物料编码")]
|
|
|
+ public string MatCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 正反面
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "正反面")]
|
|
|
+ public int SideNum { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 工字轮类型
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "工字轮类型")]
|
|
|
+ public string SpoolType { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 钢丝类型
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "钢丝类型")]
|
|
|
+ public string SilkType { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 钢丝直径
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true, ColumnDescription = "钢丝直径")]
|
|
|
+ public decimal SilkDiam { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 钢丝直径上限
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true, ColumnDescription = "钢丝直径上限")]
|
|
|
+ public decimal SilkDiamMaxCount { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 数量上限
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "数量上限")]
|
|
|
+ public int QtyMaxCount { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否芯股
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否芯股")]
|
|
|
+ public int IsCore { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 09垛型里面的行(1-12)
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "09垛型里面的行(1-12)")]
|
|
|
+ public int Row { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否混合料行(09垛型使用,1是0否)
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否混合料行(09垛型使用,1是0否)")]
|
|
|
+ public int IsMixRow { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 混合料行编码
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", IsNullable = true, Length = 50, ColumnDescription = "混合料行编码")]
|
|
|
+ public string MixRowCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 第一种第二种第三种
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "第一种第二种第三种")]
|
|
|
+ public int CategoryId { get; set; }
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 垛形主表
|
|
|
+ /// </summary>
|
|
|
+ [Tenant("fj")]
|
|
|
+ [SugarTable("Bill_BomSetGrp", tableDescription: "垛形主表")]
|
|
|
+ public partial class BillBomsetgrp
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// ID
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, ColumnDescription = "ID")]
|
|
|
+ public virtual long Id { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 备注
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "Memo", Length = 500, IsNullable = true, ColumnDataType = "nvarchar", DefaultValue = "", ColumnDescription = "备注")]
|
|
|
+ public virtual string Memo { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 创建用户
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "AddWho", Length = 50, ColumnDataType = "nvarchar", DefaultValue = "", IsNullable = false, ColumnDescription = "创建用户")]
|
|
|
+ public virtual string AddWho { get; set; } = "";
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 更新用户
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "EditWho", Length = 50, ColumnDataType = "nvarchar", DefaultValue = "", IsNullable = false, ColumnDescription = "更新用户")]
|
|
|
+ public virtual string EditWho { get; set; } = "";
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 创建时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "AddTime", DefaultValue = "1900-1-1", IsNullable = false, ColumnDescription = "创建时间")]
|
|
|
+ public virtual DateTime AddTime { get; set; } = DateTime.Now;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 更新时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnName = "EditTime", DefaultValue = "1900-1-1", IsNullable = false, ColumnDescription = "更新时间")]
|
|
|
+ public virtual DateTime EditTime { get; set; } = DateTime.Now;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否停用
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否停用")]
|
|
|
+ public int IsStop { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 垛型编码
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "垛型编码")]
|
|
|
+ public string Code { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 短垛型编码
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "smallint", IsNullable = false, ColumnDescription = "短垛型编码")]
|
|
|
+ public short ShortCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 垛型名称
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = false, ColumnDescription = "垛型名称")]
|
|
|
+ public string Name { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// BomCode(投料信息)
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = false, ColumnDescription = "BomCode(投料信息)")]
|
|
|
+ public string BomCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 帘线物料编码
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "帘线物料编码")]
|
|
|
+ public string ProMaterCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 工字轮个数
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "工字轮个数")]
|
|
|
+ public int HWCountQty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 托盘类型
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "托盘类型")]
|
|
|
+ public string TpTypeCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 层数
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "层数")]
|
|
|
+ public int LayerCountQty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 垛型大类
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "垛型大类")]
|
|
|
+ public int StampType { get; set; }
|
|
|
+ }
|
|
|
}
|