using System;
using System.Collections.Generic;
using SqlSugar;
namespace wms.sqlsugar.model.cp
{
[Tenant("cp")]
[SugarTable("Bill_InvInit")]
public partial class cpBillInvinit : BaseModel
{
///
/// 仓库id
///
[SugarColumn(ColumnDataType ="bigint" , IsNullable = false )]
public long WarehouseId { get; set; }
///
/// 组盘id
///
[SugarColumn(ColumnDataType ="bigint" , IsNullable = false )]
public long ContGrpId { get; set; }
///
/// 容器条码
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ContGrpBarCode { get; set; }
///
/// 箱号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string BoxBarCode { get; set; }
///
/// Bom工单号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string BomDocsNo { get; set; }
///
/// Bom物料id
///
[SugarColumn(ColumnDataType ="bigint" , IsNullable = false )]
public long BomMatId { get; set; }
///
/// Bom物料编码
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string BomMatCode { get; set; }
///
/// Bom物料名称
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 100 , IsNullable = true )]
public string BomMatName { get; set; }
///
/// BomSetId
///
[SugarColumn(ColumnDataType ="bigint" , IsNullable = false )]
public long BomSetId { get; set; }
///
/// 库存状态(锁定/正常)
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ExecStateCode { get; set; }
///
/// 生产订单号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ExecDocsNo { get; set; }
///
/// 生产订单行号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ExecDocsRowNo { get; set; }
///
/// 生产订单类型编码
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ExecDocsTypeCode { get; set; }
///
/// 出入库
///
[SugarColumn(ColumnDataType ="int" , IsNullable = false )]
public int InvInOut { get; set; }
///
/// 执行用户
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ExecWho { get; set; }
///
/// 执行时间
///
[SugarColumn(ColumnDataType ="datetime" , IsNullable = false )]
public DateTime ExecTime { get; set; }
///
/// 行
///
[SugarColumn(ColumnDataType ="int" , IsNullable = false )]
public int PutRow { get; set; }
///
/// 列
///
[SugarColumn(ColumnDataType ="int" , IsNullable = false )]
public int PutCol { get; set; }
///
/// 层
///
[SugarColumn(ColumnDataType ="int" , IsNullable = false )]
public int PutLayer { get; set; }
///
/// 材料号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string InvBarCode { get; set; }
///
/// 组盘状态
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string InvStateCode { get; set; }
///
/// 入库单据号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string InDocsNo { get; set; }
///
/// 入库单行号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string InDocsRowNo { get; set; }
///
/// 供应商编码
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string SuppCode { get; set; }
///
/// 供应商名称
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string SuppName { get; set; }
///
/// 客户编码
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string CustCode { get; set; }
///
/// 客户名称
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string CustName { get; set; }
///
/// MatId
///
[SugarColumn(ColumnDataType ="bigint" , IsNullable = false )]
public long MatId { get; set; }
///
/// MatCode
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string MatCode { get; set; }
///
/// MatName
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 100 , IsNullable = true )]
public string MatName { get; set; }
///
/// 总重量
///
[SugarColumn(ColumnDataType ="decimal" , Length = 18, DecimalDigits = 6, IsNullable = false )]
public decimal TolWQty { get; set; }
///
/// 净重
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = false)]
public decimal NetWQty { get; set; }
///
/// 皮重
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = false)]
public decimal TareWQty { get; set; }
///
/// 长度
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = false)]
public decimal LengthQty { get; set; }
///
/// 碳当量
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = false)]
public decimal CaQty { get; set; }
///
/// 焊点数量
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = false)]
public decimal SolderQty { get; set; }
///
/// 工字轮数量
///
[SugarColumn(ColumnDataType ="int" , IsNullable = false )]
public int ContUsageQty { get; set; }
///
/// 批号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string BatchNo { get; set; }
///
/// ProductTime
///
[SugarColumn(ColumnDataType ="datetime" , IsNullable = false )]
public DateTime ProductTime { get; set; }
///
/// OneInTime
///
[SugarColumn(ColumnDataType ="datetime" , IsNullable = false )]
public DateTime OneInTime { get; set; }
///
/// RodBarCode
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string RodBarCode { get; set; }
///
/// 工字轮条码
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string HWBarCode { get; set; }
///
/// RFID条码
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string RFIDBarCode { get; set; }
///
/// CLBarCode
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string CLBarCode { get; set; }
///
/// HWTypeCode
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string HWTypeCode { get; set; }
///
/// 炉号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string BoilerNo { get; set; }
///
/// 包号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string PackNo { get; set; }
///
/// 牌号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string BrandNo { get; set; }
///
/// 绕向
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ExecStd { get; set; }
///
/// 起鼓等级
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string LicenceCode { get; set; }
///
/// 余料
///
[SugarColumn(ColumnDataType ="bit" , IsNullable = false )]
public bool IsSurplus { get; set; }
///
/// 返工标记
///
[SugarColumn(ColumnDataType ="bit" , IsNullable = false )]
public bool IsRework { get; set; }
///
/// 是否黑盘
///
[SugarColumn(ColumnDataType ="bit" , IsNullable = false )]
public bool IsBlack { get; set; }
///
/// 是否芯股
///
[SugarColumn(ColumnDataType ="bit" , IsNullable = false )]
public bool IsCore { get; set; }
///
/// 快投标记
///
[SugarColumn(ColumnDataType ="bit" , IsNullable = false )]
public bool IsFast { get; set; }
///
/// 是否异常
///
[SugarColumn(ColumnDataType ="bit" , IsNullable = false )]
public bool IsFail { get; set; }
///
/// 异常原因
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 200 , IsNullable = true )]
public string FailReason { get; set; }
///
/// 单/双丝
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string SilkTypeCode { get; set; }
///
/// Grade
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string Grade { get; set; }
///
/// 是否退料
///
[SugarColumn(ColumnDataType ="bit" , IsNullable = false )]
public bool IsBack { get; set; }
///
/// 退料原因
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 200 , IsNullable = true )]
public string BackReason { get; set; }
///
/// 是否 扭转检测
///
[SugarColumn(ColumnDataType ="bit" , IsNullable = false )]
public bool IsTorsChk { get; set; }
///
/// 扭转次数
///
[SugarColumn(ColumnDataType ="int" , IsNullable = false )]
public int TorsChkQty { get; set; }
///
/// 扭转检测时间
///
[SugarColumn(ColumnDataType ="datetime" , IsNullable = false )]
public DateTime TorsChkTime { get; set; }
///
/// 扭转检测结果值
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, DecimalDigits = 6, IsNullable = true)]
public decimal? TorsChkValue { get; set; }
///
/// 扭转检测设备号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string TorsChkMachCode { get; set; }
///
/// 工序订单号
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ProcessDocsCode { get; set; }
///
/// 机器组编码
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ProductMachCode { get; set; }
///
/// ProductLineNo
///
[SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )]
public string ProductLineNo { get; set; }
///
/// 货物大小
///
[SugarColumn(IsNullable = false)]
public int Size { get; set; }
///
/// 1 放行/ 2 冻结 ERP使用
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string State { get; set; }
///
/// 销售发货单预冻结
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string SalesDoc { get; set; }
}
}