using SqlSugar;
namespace wms.sqlsugar.model.sx
{
    /// 
    ///  物料表
    /// 
    [Tenant("sx")]
    [SugarTable("Base_MatInfo")]
    public partial class BaseMatinfo : BaseModel
    {
        /// 
        ///  仓库ID
        /// 
        [SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
        public long WarehouseId { get; set; }
        /// 
        ///  编码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
        public string Code { get; set; }
        /// 
        ///  名称
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = false)]
        public string Name { get; set; }
        /// 
        ///  短描述
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string ShortDesc { get; set; }
        /// 
        ///  长描述
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 500, IsNullable = true)]
        public string FullDesc { get; set; }
        /// 
        /// 补充描述
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 500, IsNullable = true)]
        public string ExtDesc { get; set; }
        /// 
        ///  英文名
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string Enname { get; set; }
        /// 
        ///  组ID
        /// 
        [SugarColumn(ColumnDataType = "bigint", IsNullable = false)]
        public long MatGrpId { get; set; }
        /// 
        ///  叶类编码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string Leafcode { get; set; }
        /// 
        ///  叶类名称
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string LeafName { get; set; }
        /// 
        ///  中类编码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string MidCode { get; set; }
        /// 
        ///  中类名称
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string MidName { get; set; }
        /// 
        ///  大类编码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string HeadCode { get; set; }
        /// 
        ///  大类名称
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string HeadName { get; set; }
        /// 
        ///  规格型号
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string Description { get; set; }
        /// 
        ///  材质
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string Texture { get; set; }
        /// 
        ///  图号
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string FigureNo { get; set; }
        /// 
        ///  强度
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string Strength { get; set; }
        /// 
        ///  镀层
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string Plating { get; set; }
        /// 
        ///  镀层克重
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? PlatingWeight { get; set; }
        /// 
        ///  镀层主元素含量
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? PlatingContQty { get; set; }
        /// 
        ///  线密度
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? Linear { get; set; }
        /// 
        ///  产品号
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string ProCode { get; set; }
        /// 
        ///  产品描述
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string ProName { get; set; }
        /// 
        ///  产品强度
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string ProStre { get; set; }
        /// 
        ///  线密度上限
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? LinearMax { get; set; }
        /// 
        ///  线密度下限
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? LinearMin { get; set; }
        /// 
        ///  线密度目标值
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? LinearTar { get; set; }
        /// 
        ///  单丝倍数
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? Mono { get; set; }
        /// 
        ///  工字轮型号
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string SpoolType { get; set; }
        /// 
        ///  工字轮料号
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string SpoolCode { get; set; }
        /// 
        ///  单卷长度
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? Length { get; set; }
        /// 
        ///  涂油量
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? OilQty { get; set; }
        /// 
        ///  润滑液种类
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string LubType { get; set; }
        /// 
        ///  排线间距
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? LineSpace { get; set; }
        /// 
        ///  线长度
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? LineLength { get; set; }
        /// 
        ///  捻向
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string LayDirect { get; set; }
        /// 
        ///  客户标准索引号
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string CumIndex { get; set; }
        /// 
        ///  有无焊点
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string IsSolder { get; set; }
        /// 
        ///  SKU号
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string SkuCode { get; set; }
        /// 
        ///  SKU描述
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 200, IsNullable = true)]
        public string SkuDesc { get; set; }
        /// 
        ///  控制扭转
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string Tors { get; set; }
        /// 
        ///  包装组ID
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string PackGrpId { get; set; }
        /// 
        ///  黑盘取样
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string BlackSamp { get; set; }
        /// 
        ///  黑盘检验
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string BlackChk { get; set; }
        /// 
        ///  客户编码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string CustCode { get; set; }
        /// 
        ///  客户描述
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string CustName { get; set; }
        /// 
        ///  收货地址编码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string AddressCode { get; set; }
        /// 
        ///  收货地址名称
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string AddressName { get; set; }
        /// 
        ///  生产批次数量(箱/批)
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? Qty { get; set; }
        /// 
        ///  每箱最大焊点盘数(个)
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? BoxMaxSolder { get; set; }
        /// 
        ///  工字轮最大焊点数(个)
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? SpoolMaxSolder { get; set; }
        /// 
        ///  OVC比例
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? Ovc { get; set; }
        /// 
        ///  起鼓等级
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string DrummLevel { get; set; }
        /// 
        ///  公司代码
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string ComCode { get; set; }
        /// 
        ///  公司名称
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string ComName { get; set; }
        /// 
        ///  计量单位
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 10, IsNullable = true)]
        public string CalcUnit { get; set; }
        /// 
        ///  库存单位
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 10, IsNullable = true)]
        public string StockUnit { get; set; }
        /// 
        ///  单重
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal? Weight { get; set; }
        /// 
        ///  单重单位
        /// 
        [SugarColumn(ColumnDataType = "nvarchar", Length = 10, IsNullable = true)]
        public string WeightUnit { get; set; }
        /// 
        ///  是否启用时效
        /// 
        [SugarColumn(ColumnDataType = "bit", IsNullable = false)]
        public bool IsHold { get; set; }
        /// 
        ///  时效时长(小时)
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = false)]
        public decimal HoldDuration { get; set; }
        /// 
        ///  直径(扭转使用)
        /// 
        [SugarColumn(ColumnDataType = "decimal", Length = 18, IsNullable = true)]
        public decimal Diameter { get; set; }
    }
}