using SqlSugar;
namespace WCS.WorkEngineering.Model.WMS
{
///
/// 垛型明细表
///
[SugarTable("Bill_BomSetInfo", tableDescription: "垛型明细表")]
public partial class BillBomsetinfo
{
///
/// ID
///
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, ColumnDescription = "ID")]
public virtual long Id { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Memo", Length = 500, IsNullable = true, ColumnDataType = "nvarchar", DefaultValue = "", ColumnDescription = "备注")]
public virtual string Memo { get; set; }
///
/// 创建用户
///
[SugarColumn(ColumnName = "AddWho", Length = 50, ColumnDataType = "nvarchar", DefaultValue = "", IsNullable = false, ColumnDescription = "创建用户")]
public virtual string AddWho { get; set; } = "";
///
/// 更新用户
///
[SugarColumn(ColumnName = "EditWho", Length = 50, ColumnDataType = "nvarchar", DefaultValue = "", IsNullable = false, ColumnDescription = "更新用户")]
public virtual string EditWho { get; set; } = "";
///
/// 创建时间
///
[SugarColumn(ColumnName = "AddTime", DefaultValue = "1900-1-1", IsNullable = false, ColumnDescription = "创建时间")]
public virtual DateTime AddTime { get; set; } = DateTime.Now;
///
/// 更新时间
///
[SugarColumn(ColumnName = "EditTime", DefaultValue = "1900-1-1", IsNullable = false, ColumnDescription = "更新时间")]
public virtual DateTime EditTime { get; set; } = DateTime.Now;
///
/// 垛型id
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false, ColumnDescription = "垛型id")]
public long BomSetHdrId { get; set; }
///
/// 是否停用
///
[SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否停用")]
public int IsStop { get; set; }
///
/// 是否空置
///
[SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否空置")]
public int IsEmpty { get; set; }
///
/// 坐标号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false, ColumnDescription = "坐标号")]
public string XYNo { get; set; }
///
/// 物料id
///
[SugarColumn(ColumnDataType = "bigint", ColumnDescription = "物料id")]
public long MatId { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnDataType = "nvarchar", IsNullable = true, Length = 50, ColumnDescription = "物料编码")]
public string MatCode { get; set; }
///
/// 正反面
///
[SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "正反面")]
public int SideNum { get; set; }
///
/// 工字轮类型
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "工字轮类型")]
public string SpoolType { get; set; }
///
/// 钢丝类型
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "钢丝类型")]
public string SilkType { get; set; }
///
/// 钢丝直径
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true, ColumnDescription = "钢丝直径")]
public decimal SilkDiam { get; set; }
///
/// 钢丝直径上限
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true, ColumnDescription = "钢丝直径上限")]
public decimal SilkDiamMaxCount { get; set; }
///
/// 数量上限
///
[SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "数量上限")]
public int QtyMaxCount { get; set; }
///
/// 是否芯股
///
[SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否芯股")]
public int IsCore { get; set; }
///
/// 09垛型里面的行(1-12)
///
[SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "09垛型里面的行(1-12)")]
public int Row { get; set; }
///
/// 是否混合料行(09垛型使用,1是0否)
///
[SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "是否混合料行(09垛型使用,1是0否)")]
public int IsMixRow { get; set; }
///
/// 混合料行编码
///
[SugarColumn(ColumnDataType = "nvarchar", IsNullable = true, Length = 50, ColumnDescription = "混合料行编码")]
public string MixRowCode { get; set; }
///
/// 第一种第二种第三种
///
[SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "第一种第二种第三种")]
public int CategoryId { get; set; }
}
}