using SqlSugar;
using System;
namespace wms.sqlsugar.model.fj
{
///
/// 库存表
///
[Tenant("fj")]
[SugarTable("Bill_InvNow")]
public partial class BillInvnow : BaseModel
{
///
/// 仓库ID
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long WarehouseId { get; set; }
///
/// 组盘ID
/// 创建库存的时候 获取条码表ContGrpId
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long ContGrpId { get; set; }
///
/// 组盘条码
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ContGrpBarCode { get; set; }
///
/// 组盘类型(1物料盘 2空盘)
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int ContGrpType { get; set; }
///
/// BoxBarCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BoxBarCode { get; set; }
///
/// BomDocsNo
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BomDocsNo { get; set; }
///
/// BomMatId
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long BomMatId { get; set; }
///
/// BomMatCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BomMatCode { get; set; }
///
/// BomMatName
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
public string BomMatName { get; set; }
///
/// BomSetId
///
[SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
public long BomSetId { get; set; }
///
/// ExecStateCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecStateCode { get; set; }
///
/// ExecDocsNo
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecDocsNo { get; set; }
///
/// ExecDocsRowNo
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecDocsRowNo { get; set; }
///
/// ExecDocsTypeCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecDocsTypeCode { get; set; }
///
/// InvInOut
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int InvInOut { get; set; }
///
/// ExecWho
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecWho { get; set; }
///
/// ExecTime
///
[SugarColumn(ColumnDataType = "datetime", IsNullable = false)]
public DateTime ExecTime { get; set; }
///
/// PutRow
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int PutRow { get; set; }
///
/// PutCol
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int PutCol { get; set; }
///
/// PutLayer
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int PutLayer { get; set; }
///
/// 入库条码号 FJ材料号
///
[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; }
///
/// SuppCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string SuppCode { get; set; }
///
/// SuppName
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string SuppName { get; set; }
///
/// CustCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string CustCode { get; set; }
///
/// CustName
///
[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; }
///
/// TolWQty
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal TolWQty { get; set; }
///
/// NetWQty
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal NetWQty { get; set; }
///
/// TareWQty
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal TareWQty { get; set; }
///
/// LengthQty
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal LengthQty { get; set; }
///
/// CaQty
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal CaQty { get; set; }
///
/// SolderQty
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
public decimal SolderQty { get; set; }
///
/// ContUsageQty
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int ContUsageQty { get; set; }
///
/// BatchNo
///
[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; }
///
/// HWBarCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string HWBarCode { get; set; }
///
/// RFIDBarCode
///
[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; }
///
/// BoilerNo
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BoilerNo { get; set; }
///
/// PackNo
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string PackNo { get; set; }
///
/// BrandNo
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string BrandNo { get; set; }
///
/// ExecStd
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ExecStd { get; set; }
///
/// LicenceCode
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string LicenceCode { get; set; }
///
/// IsSurplus
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsSurplus { get; set; }
///
/// IsRework
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsRework { get; set; }
///
/// IsBlack
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsBlack { get; set; }
///
/// IsCore
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsCore { get; set; }
///
/// IsFast
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsFast { get; set; }
///
/// IsFail
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsFail { get; set; }
///
/// FailReason
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = true)]
public string FailReason { get; set; }
///
/// SilkTypeCode
///
[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; }
///
/// IsBack
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsBack { get; set; }
///
/// BackReason
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = true)]
public string BackReason { get; set; }
///
/// IsTorsChk
///
[SugarColumn(ColumnDataType = "bit", IsNullable = false)]
public bool IsTorsChk { get; set; }
///
/// TorsChkQty
///
[SugarColumn(ColumnDataType = "int", IsNullable = false)]
public int TorsChkQty { get; set; }
///
/// TorsChkTime
///
[SugarColumn(ColumnDataType = "datetime", IsNullable = false)]
public DateTime TorsChkTime { get; set; }
///
/// TorsChkValue
///
[SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
public decimal? TorsChkValue { get; set; }
///
/// TorsChkMachCode
///
[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; }
///
/// 分拣机台号
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ProductLineNo { get; set; }
///
/// 货物大小
///
[SugarColumn(IsNullable = false)]
public int Size { get; set; }
}
}