using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace wms.sqlsugar.model.hj
{
    [Tenant("hj")]
    [SugarTable("base_mater", "物料基础信息表")]
    public class hjBaseMater : BaseModel
    {
        /// 
        /// 物料编码
        /// 
        [SugarColumn(ColumnName = "code", ColumnDataType = "nvarchar", Length = 50)]
        public string Code { get; set; }
        /// 
        /// 物料名称
        /// 
        [SugarColumn(ColumnName = "name", ColumnDataType = "nvarchar", Length = 200)]
        public string Name { get; set; }
        /// 
        /// 物料短描述
        /// 
        [SugarColumn(ColumnName = "short_desc", ColumnDataType = "nvarchar", Length = 100,IsNullable = true)]
        public string ShortDesc { get; set; }
        /// 
        /// 物料长描述
        /// 
        [SugarColumn(ColumnName = "full_desc", ColumnDataType = "nvarchar", Length = 500, IsNullable = true)]
        public string FullDesc { get; set; }
        /// 
        /// 物料补充描述
        /// 
        [SugarColumn(ColumnName = "ext_desc", ColumnDataType = "nvarchar", Length = 500, IsNullable = true)]
        public string MatExtDesc { get; set; }
        /// 
        /// 物料英文名
        /// 
        [SugarColumn(ColumnName = "en_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string MatEnName { get; set; }
        /// 
        /// 物料组Id
        /// 
        [SugarColumn(ColumnName = "mater_group_id")]
        public long MaterGroupId { get; set; }
        /// 
        /// 叶类代码
        /// 
        [SugarColumn(ColumnName = "leaf_type_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string LeafTypeCode { get; set; }
        /// 
        /// 叶类名称
        /// 
        [SugarColumn(ColumnName = "leaf_type_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string LeafTypeName { get; set; }
        /// 
        /// 中类代码
        /// 
        [SugarColumn(ColumnName = "mid_type_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string MidTypeCode { get; set; }
        /// 
        /// 中类名称
        /// 
        [SugarColumn(ColumnName = "mid_type_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string MidTypeName { get; set; }
        /// 
        /// 大类代码
        /// 
        [SugarColumn(ColumnName = "head_type_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string HeadTypeCode { get; set; }
        /// 
        /// 大类名称
        /// 
        [SugarColumn(ColumnName = "head_type_name", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string HeadTypeName { get; set; }
        /// 
        /// 规格型号
        /// 
        [SugarColumn(ColumnName = "describe", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string Describe { get; set; }
        /// 
        /// 材质
        /// 
        [SugarColumn(ColumnName = "texture", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string Texture { get; set; }
        /// 
        /// 图号
        /// 
        [SugarColumn(ColumnName = "figureNo", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string FigureNo { get; set; }
        /// 
        /// 强度
        /// 
        [SugarColumn(ColumnName = "strength", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string Strength { get; set; }
        /// 
        /// 镀层
        /// 
        [SugarColumn(ColumnName = "plating", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string Plating { get; set; }
        /// 
        /// 镀层克重
        /// 
        [SugarColumn(ColumnName = "plating_weight", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal PlatingWeight { get; set; }
        /// 
        /// 镀层主元素含量
        /// 
        [SugarColumn(ColumnName = "plating_con_qty", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal PlatingConQty { get; set; }
        /// 
        /// 线密度
        /// 
        [SugarColumn(ColumnName = "linear", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal Linear { get; set; }
        /// 
        /// 产品号
        /// 
        [SugarColumn(ColumnName = "pro_code", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string ProCode { get; set; }
        /// 
        /// 产品描述
        /// 
        [SugarColumn(ColumnName = "pro_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string ProName { get; set; }
        /// 
        /// 产品强度
        /// 
        [SugarColumn(ColumnName = "pro_stre", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string ProStre { get; set; }
        /// 
        /// 线密度上限
        /// 
        [SugarColumn(ColumnName = "linear_max", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal LinearMax { get; set; }
        /// 
        /// 线密度下限
        /// 
        [SugarColumn(ColumnName = "linear_min", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal LinearMin { get; set; }
        /// 
        /// 线密度目标值
        /// 
        [SugarColumn(ColumnName = "linear_tar", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal LinearTar { get; set; }
        /// 
        /// 单丝倍数
        /// 
        [SugarColumn(ColumnName = "mono", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal Mono { get; set; }
        /// 
        /// 工字轮型号
        /// 
        [SugarColumn(ColumnName = "spool_type", ColumnDataType = "nvarchar", Length = 50,IsNullable = true)]
        public string SpoolType { get; set; }
        /// 
        /// 工字轮料号
        /// 
        [SugarColumn(ColumnName = "spool_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string SpoolCode { get; set; }
        /// 
        /// 单卷长度
        /// 
        [SugarColumn(ColumnName = "length", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal Length { get; set; }
        /// 
        /// 涂油量
        /// 
        [SugarColumn(ColumnName = "oil_qty", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal OilQty { get; set; }
        /// 
        /// 润滑液种类
        /// 
        [SugarColumn(ColumnName = "lub_type", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string LubType { get; set; }
        /// 
        /// 排线间距
        /// 
        [SugarColumn(ColumnName = "line_space", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal LineSpace { get; set; }
        /// 
        /// 捻距
        /// 
        [SugarColumn(ColumnName = "line_length", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal LayLength { get; set; }
        /// 
        /// 捻向
        /// 
        [SugarColumn(ColumnName = "lay_direct", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string LayDirect { get; set; }
        /// 
        /// 客户标准索引号
        /// 
        [SugarColumn(ColumnName = "cum_index", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string CumIndex { get; set; }
        /// 
        /// 有无焊点
        /// 
        [SugarColumn(ColumnName = "is_solder", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string IsSolder { get; set; }
        /// 
        /// SKU号
        /// 
        [SugarColumn(ColumnName = "sku_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string SKUCode { get; set; }
        /// 
        /// SKU描述
        /// 
        [SugarColumn(ColumnName = "sku_desc", ColumnDataType = "nvarchar", Length = 200, IsNullable = true)]
        public string SKUDesc { get; set; }
        /// 
        /// 控制扭转
        /// 
        [SugarColumn(ColumnName = "tors", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string Tors { get; set; }
        /// 
        /// 包装组ID
        /// 
        [SugarColumn(ColumnName = "pack_group_id", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string PackGroupId { get; set; }
        /// 
        /// 黑盘取样
        /// 
        [SugarColumn(ColumnName = "black_samp", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string BlackSamp { get; set; }
        /// 
        /// 黑盘检验
        /// 
        [SugarColumn(ColumnName = "black_chk", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string BlackChk { get; set; }
        /// 
        /// 客户编码
        /// 
        [SugarColumn(ColumnName = "cust_code", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string CustCode { get; set; }
        /// 
        /// 客户描述
        /// 
        [SugarColumn(ColumnName = "cust_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string CustName { get; set; }
        /// 
        /// 收货地址编码
        /// 
        [SugarColumn(ColumnName = "address_code", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string AddressCode { get; set; }
        /// 
        /// 收货地址名称
        /// 
        [SugarColumn(ColumnName = "address_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string AddressName { get; set; }
        /// 
        /// 生产批次数量(箱/批)
        /// 
        [SugarColumn(ColumnName = "qty", Length = 18, DecimalDigits = 2, IsNullable = true)]
        public decimal Qty { get; set; }
        /// 
        /// 每箱最大焊点盘数(个)
        /// 
        [SugarColumn(ColumnName = "box_max_solder", Length = 18, DecimalDigits = 2, IsNullable = true)]
        public decimal BoxMaxSolder { get; set; }
        /// 
        /// 工字轮最大焊点数(个)
        /// 
        [SugarColumn(ColumnName = "spool_max_solder", Length = 18, DecimalDigits = 2, IsNullable = true)]
        public decimal SpoolMaxSolder { get; set; }
        /// 
        /// OVC比例
        /// 
        [SugarColumn(ColumnName = "ovc", Length = 18, DecimalDigits = 2, IsNullable = true)]
        public decimal OVC { get; set; }
        /// 
        /// 起鼓等级
        /// 
        [SugarColumn(ColumnName = "drumm_level", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string DrummLevel { get; set; }
        /// 
        /// 公司代码
        /// 
        [SugarColumn(ColumnName = "com_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
        public string ComCode { get; set; }
        /// 
        /// 公司名称
        /// 
        [SugarColumn(ColumnName = "com_name", ColumnDataType = "nvarchar", Length = 100, IsNullable = true)]
        public string ComName { get; set; }
        /// 
        /// 计量单位
        /// 
        [SugarColumn(ColumnName = "calc_unit", ColumnDataType = "nvarchar", Length = 10, IsNullable = true)]
        public string CalcUnit { get; set; }
        /// 
        /// 库存单位
        /// 
        [SugarColumn(ColumnName = "stock_unit", ColumnDataType = "nvarchar", Length = 10, IsNullable = true)]
        public string StockUnit { get; set; }
        /// 
        /// 单重
        /// 
        [SugarColumn(ColumnName = "weight", Length = 18, DecimalDigits = 6, IsNullable = true)]
        public decimal Weight { get; set; }
        /// 
        /// 单重单位
        /// 
        [SugarColumn(ColumnName = "weight_unit", ColumnDataType = "nvarchar", Length = 10, IsNullable = true)]
        public string WeightUnit { get; set; }
        /// 
        /// 是否启用时效
        /// 
        [SugarColumn(ColumnName = "is_hold")]
        public bool IsHold { get; set; }
        /// 
        /// 时效时长
        /// 
        [SugarColumn(ColumnName = "hold_duration", Length = 18, DecimalDigits = 2)]
        public decimal HoldDuration { get; set; }
    }
}