using SqlSugar;
namespace wms.sqlsugar.model.sx
{
///
/// 成品装箱
///
[Tenant("sx")]
[SugarTable("Bill_PBoxRule")]
public partial class BillPboxrule : BaseModel
{
///
/// WarehouseId
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long WarehouseId { get; set; }
///
/// IsStop
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int IsStop { get; set; }
///
/// DocsNo
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
public string DocsNo { get; set; }
///
/// Sku编号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
public string SkuCode { get; set; }
///
/// 箱号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
public string PBoxCode { get; set; }
///
/// 装箱规则(1:层配;2:SPC)
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
public string PackRule { get; set; }
///
/// 每箱满轮子数
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int FullCountQty { get; set; }
///
/// 每箱空轮子数
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int EmptyCountQty { get; set; }
///
/// 是否允许焊点盘
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int IsSolder { get; set; }
///
/// 每箱允许最大焊点盘数量
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int SolderMaxCount { get; set; }
///
/// 每个工字轮允许最大焊点数量
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int PerSolderMaxCount { get; set; }
///
/// 24小时目标扭转值
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 2, IsNullable = false)]
public decimal Torsion24Qty { get; set; }
///
/// 48小时目标扭转值
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 2, IsNullable = false)]
public decimal Torsion48Qty { get; set; }
///
/// 72小时目标扭转值
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 2, IsNullable = false)]
public decimal Torsion72Qty { get; set; }
///
/// 扭转目标范围
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 2, IsNullable = false)]
public decimal TorsionErrRange { get; set; }
///
/// 子托盘编码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
public string TrayCode { get; set; }
///
/// 装箱状态(0未装箱/1装箱中/2装箱完成/3控制箱预占/4非控制预占)
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int ZXStateCode { get; set; }
///
/// 每箱黑盘数量
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int BlackCount { get; set; }
///
/// 返工盘数量
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int ReturnCount { get; set; }
///
/// 扭转目标时间
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 2, IsNullable = false)]
public decimal HoldTime { get; set; }
///
/// 是否控制盘
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsControlpanel { get; set; }
///
/// 包装信息
///
[SugarColumn(ColumnDataType = "nvarchar", IsNullable = true)]
public string PackJsonContent { get; set; }
///
/// 扭转最大数
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 2, IsNullable = false)]
public decimal TorsionMaxQty { get; set; }
///
/// 扭转最小数
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 2, IsNullable = false)]
public decimal TorsionMinQty { get; set; }
///
/// 工字轮型号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string SpoolType { get; set; }
///
/// 生产批号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BatchNo { get; set; }
///
/// 绕向
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
public string Wind { get; set; }
///
/// 包装编码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string Dryer { get; set; }
///
/// 包材重量
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal PackWeight { get; set; }
///
/// 计算用包材重量
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
public decimal BaoCaiWeight { get; set; }
}
}