using SqlSugar;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Linq;
namespace SlnMesnac.Model.domain
{
[SugarTable("BasMaterial"), TenantAttribute("mes")]
[DataContract(Name = "BasMaterial 物料信息")]
public class BaseMaterialInfo
{
///
///
///
[SugarColumn(ColumnName = "ObjID", IsPrimaryKey = true)]
public int ObjID { get; set; }
///
/// 大类+小类+规格+胶代码或最后4顺序号
///
[SugarColumn(ColumnName = "MaterialCode")]
public string MaterialCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "MajorTypeID")]
public int? MajorTypeID { get; set; }
///
///
///
[SugarColumn(ColumnName = "MinorTypeID")]
public string MinorTypeID { get; set; }
///
///
/// 默认值: ('')
///
[SugarColumn(ColumnName = "RubCode")]
public string RubCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "MaterialName")]
public string MaterialName { get; set; }
///
///
///
[SugarColumn(ColumnName = "MaterialOtherName")]
public string MaterialOtherName { get; set; }
///
///
///
[SugarColumn(ColumnName = "MaterialSimpleName")]
public string MaterialSimpleName { get; set; }
///
///
///
[SugarColumn(ColumnName = "ProductMaterialCode")]
public string ProductMaterialCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "MaterialLevel")]
public string MaterialLevel { get; set; }
///
///
///
[SugarColumn(ColumnName = "MaterialGroup")]
public string MaterialGroup { get; set; }
///
///
///
[SugarColumn(ColumnName = "UserCode")]
public string UserCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "PlanPrice")]
public decimal? PlanPrice { get; set; }
///
/// 具体到县级市,长度为6,国外的只具体国家
///
[SugarColumn(ColumnName = "ProductArea")]
public string ProductArea { get; set; }
///
///
///
[SugarColumn(ColumnName = "MinStock")]
public decimal? MinStock { get; set; }
///
///
///
[SugarColumn(ColumnName = "MaxStock")]
public decimal? MaxStock { get; set; }
///
/// 千克,克,块,桶,升
///
[SugarColumn(ColumnName = "UnitID")]
public int? UnitID { get; set; }
///
///
///
[SugarColumn(ColumnName = "StaticUnitID")]
public int? StaticUnitID { get; set; }
///
///
///
[SugarColumn(ColumnName = "StaticUnitCoefficient")]
public decimal? StaticUnitCoefficient { get; set; }
///
/// 显为百分比
///
[SugarColumn(ColumnName = "CheckPermitError")]
public decimal? CheckPermitError { get; set; }
///
/// 按小时计算
///
[SugarColumn(ColumnName = "MaxParkTime")]
public decimal? MaxParkTime { get; set; }
///
/// 小时计算
///
[SugarColumn(ColumnName = "MinParkTime")]
public decimal? MinParkTime { get; set; }
///
///
/// 默认值: (getdate())
///
[SugarColumn(ColumnName = "DefineDate")]
public DateTime? DefineDate { get; set; }
///
///
///
[SugarColumn(ColumnName = "StandardCode")]
public string StandardCode { get; set; }
///
///
/// 默认值: ((1))
///
[SugarColumn(ColumnName = "StaticClass")]
public int? StaticClass { get; set; }
///
///
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "IsEqualMaterial")]
public string IsEqualMaterial { get; set; }
///
///
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "IsPutJar")]
public string IsPutJar { get; set; }
///
///
/// 默认值: ((1))
///
[SugarColumn(ColumnName = "IsQualityRateCount")]
public string IsQualityRateCount { get; set; }
///
///
///
[SugarColumn(ColumnName = "ERPCode")]
public string ERPCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "Remark")]
public string Remark { get; set; }
///
///
///
[SugarColumn(ColumnName = "DeleteFlag")]
public string DeleteFlag { get; set; }
///
///
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "ValidDate")]
public decimal ValidDate { get; set; }
///
///
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "ValidDateB")]
public decimal ValidDateB { get; set; }
///
///
///
[SugarColumn(ColumnName = "SAPMaterialCode")]
public string SAPMaterialCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "SAPMaterialShortCode")]
public string SAPMaterialShortCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "ERPCode_Bak")]
public string ErpcodeBak { get; set; }
///
///
///
[SugarColumn(ColumnName = "OperSourceTemp")]
public string OperSourceTemp { get; set; }
///
///
///
[SugarColumn(ColumnName = "IsQualityrateCountBak")]
public int? IsQualityrateCountBak { get; set; }
///
///
///
[SugarColumn(ColumnName = "CMaterialLevel")]
public string CMaterialLevel { get; set; }
///
///
///
[SugarColumn(ColumnName = "CMaterialGroup")]
public string CMaterialGroup { get; set; }
///
///
///
[SugarColumn(ColumnName = "XBStock")]
public decimal? XBStock { get; set; }
///
///
///
[SugarColumn(ColumnName = "HFCode")]
public string HFCode { get; set; }
///
///
///
[SugarColumn(ColumnName = "HFCode2")]
public string HFCode2 { get; set; }
///
///
///
[SugarColumn(ColumnName = "UNITName")]
public string UNITName { get; set; }
///
///
///
[SugarColumn(ColumnName = "KFACSTATUS")]
public string Kfacstatus { get; set; }
///
///
///
[SugarColumn(ColumnName = "Ordertype")]
public string Ordertype { get; set; }
///
///
///
[SugarColumn(ColumnName = "CreateDate")]
public string CreateDate { get; set; }
///
///
///
[SugarColumn(ColumnName = "UpdateDate")]
public string UpdateDate { get; set; }
///
///
///
[SugarColumn(ColumnName = "UnAudit")]
public string UnAudit { get; set; }
///
///
///
[SugarColumn(ColumnName = "ChkStand")]
public string ChkStand { get; set; }
///
/// 1 KG 2 PC 3 标准KG
/// 默认值: ((1))
///
[SugarColumn(ColumnName = "SapUpUnit")]
public int? SapUpUnit { get; set; }
///
/// 是否为轨道事业部物料:0:不是,1:是
///
[SugarColumn(ColumnName = "IsGDMaterial")]
public int? IsGDMaterial { get; set; }
}
}