using System; 
using System.Collections.Generic;
using SqlSugar;
namespace wms.sqlsugar.model.pt
{
    [Tenant("pt")]
    [SugarTable("Bill_InvInit")]
    public partial class ptBillInvinit : BaseModel
    { 
        ///  
        /// WarehouseId
        ///  
        [SugarColumn(ColumnDataType ="bigint" ,  IsNullable = false )]
        public long WarehouseId { get; set; }
        ///  
        /// ContGrpId
        ///  
        [SugarColumn(ColumnDataType ="bigint" ,  IsNullable = false )]
        public long ContGrpId { get; set; }
        ///  
        /// ContGrpBarCode
        ///  
        [SugarColumn(ColumnDataType ="nvarchar" , Length = 50  , IsNullable = true )]
        public string ContGrpBarCode { 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; }
        ///  
        /// InvBarCode
        ///  
        [SugarColumn(ColumnDataType ="nvarchar" , Length = 50  , IsNullable = true )]
        public string InvBarCode { get; set; }
        ///  
        /// InvStateCode
        ///  
        [SugarColumn(ColumnDataType ="nvarchar" , Length = 50  , IsNullable = true )]
        public string InvStateCode { get; set; }
        ///  
        /// InDocsNo
        ///  
        [SugarColumn(ColumnDataType ="nvarchar" , Length = 50  , IsNullable = true )]
        public string InDocsNo { get; set; }
        ///  
        /// InDocsRowNo
        ///  
        [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; }
        ///  
        /// 包重
        ///  
        [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; }
        ///  
        /// ProcessDocsCode
        ///  
        [SugarColumn(ColumnDataType ="nvarchar" , Length = 50  , IsNullable = true )]
        public string ProcessDocsCode { get; set; }
        ///  
        /// ProductMachCode
        ///  
        [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; }
        /// 
        /// 时效期
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
        public decimal HoldDuration { get; set; }
        ///  
        /// 规格
        ///  
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string Describe { get; set; }
    }
}