using Core.Mes.Client.Comm.Attribute;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Core.StlMes.Client.YdmBcPipeManage.Entity
{
///
/// 数据库表CRM_BASE_MATERIAL所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:LAPTOP-I2IGVKJC 时间:2022-04-13
///
public class CrmBaseMaterialEntity
{
///
/// 物料编码
///
private string materialNo = "";
///
/// 物料描述
///
private string materialDesc = "";
///
/// 品名代码
///
private string produccode = "";
///
/// 品名描述
///
private string producname = "";
///
/// 品名简称
///
private string producJx = "";
///
/// 品名英语名称
///
private string producEng = "";
///
/// 标准类别代码
///
private string stdStyle = "";
///
/// 标准类别描述(PSL1....)
///
private string stdStyleDesc = "";
///
/// 钢级(牌号)代码
///
private string steelcode = "";
///
/// 钢级(牌号)名称
///
private string steelname = "";
///
/// 钢种代码(GZ0001)
///
private string gradecode = "";
///
/// 钢种名称
///
private string gradename = "";
///
/// 外径
///
private string dimater = "";
///
/// 壁厚
///
private string height = "";
///
/// 管坯规格代码(从产品规格表中取值)
///
private string specCode = "";
///
/// 管坯规格描述
///
private string specName = "";
///
/// 扣型代码
///
private string modelCode = "";
///
/// 扣型描述
///
private string modelDesc = "";
///
/// 允许外购
///
private string outsrcAllow = "";
///
/// 首次生产(对应物料缴库时改变首次生产标识)("1";首次生产;"0":已生产过)
///
private string firstPrdc = "";
///
/// 创建人
///
private string createName = "";
///
/// 创建时间
///
private string createTime = "";
///
/// 修改人
///
private string updateName = "";
///
/// 修改时间
///
private string updateTime = "";
///
/// 删除人
///
private string deleteName = "";
///
/// 删除时间
///
private string deleteTime = "";
///
/// 是否自动生成工艺文件(1:是 0:否)
///
private string autoCraft = "";
///
/// 物料大类
///
private string materialTypeMax = "";
///
/// 物料中类
///
private string materialTypeMid = "";
///
/// 物料小类
///
private string materialTypeMin = "";
///
/// 属性分类1
///
private string propertyType1 = "";
///
/// 属性分类2
///
private string propertyType2 = "";
///
/// TP系列
///
private string tpSeries = "";
///
/// 特殊扣型
///
private string specialModel = "";
///
/// 高端产品
///
private string upmarketProduct = "";
///
/// 高附加值产品
///
private string highAdditionalProduct = "";
///
/// 物料大类
///
private string materialTypeMaxDesc = "";
///
/// 物料中类
///
private string materialTypeMidDesc = "";
///
/// 物料小类
///
private string materialTypeMinDesc = "";
///
/// 属性分类1
///
private string propertyType1Desc = "";
///
/// 属性分类2
///
private string propertyType2Desc = "";
///
/// 完全成本
///
private decimal? totalCost = null;
///
/// 数据类型(0 新增 1修改 2删除)
///
private string dataStatus = "";
///
/// CRM是否同步(0 未同步 1已同步)
///
private string isFlag = "";
///
/// CRM同步时间
///
private string synchroTime = "";
///
/// 主键
///
private string id = "";
///
/// 插入时间
///
private string dataTime = "";
///
/// 物料编码
///
[Description("物料编码")]
[Nullable(false)]
[DataLength(30)]
public string MaterialNo
{
get { return materialNo; }
set { materialNo = value; }
}
///
/// 物料描述
///
[Description("物料描述")]
[Nullable(true)]
[DataLength(100)]
public string MaterialDesc
{
get { return materialDesc; }
set { materialDesc = value; }
}
///
/// 品名代码
///
[Description("品名代码")]
[Nullable(true)]
[DataLength(20)]
public string Produccode
{
get { return produccode; }
set { produccode = value; }
}
///
/// 品名描述
///
[Description("品名描述")]
[Nullable(true)]
[DataLength(100)]
public string Producname
{
get { return producname; }
set { producname = value; }
}
///
/// 品名简称
///
[Description("品名简称")]
[Nullable(true)]
[DataLength(50)]
public string ProducJx
{
get { return producJx; }
set { producJx = value; }
}
///
/// 品名英语名称
///
[Description("品名英语名称")]
[Nullable(true)]
[DataLength(200)]
public string ProducEng
{
get { return producEng; }
set { producEng = value; }
}
///
/// 标准类别代码
///
[Description("标准类别代码")]
[Nullable(true)]
[DataLength(20)]
public string StdStyle
{
get { return stdStyle; }
set { stdStyle = value; }
}
///
/// 标准类别描述(PSL1....)
///
[Description("标准类别描述(PSL1....)")]
[Nullable(true)]
[DataLength(50)]
public string StdStyleDesc
{
get { return stdStyleDesc; }
set { stdStyleDesc = value; }
}
///
/// 钢级(牌号)代码
///
[Description("钢级(牌号)代码")]
[Nullable(true)]
[DataLength(10)]
public string Steelcode
{
get { return steelcode; }
set { steelcode = value; }
}
///
/// 钢级(牌号)名称
///
[Description("钢级(牌号)名称")]
[Nullable(true)]
[DataLength(100)]
public string Steelname
{
get { return steelname; }
set { steelname = value; }
}
///
/// 钢种代码(GZ0001)
///
[Description("钢种代码(GZ0001)")]
[Nullable(true)]
[DataLength(6)]
public string Gradecode
{
get { return gradecode; }
set { gradecode = value; }
}
///
/// 钢种名称
///
[Description("钢种名称")]
[Nullable(true)]
[DataLength(100)]
public string Gradename
{
get { return gradename; }
set { gradename = value; }
}
///
/// 外径
///
[Description("外径")]
[Nullable(true)]
[DataLength(10)]
public string Dimater
{
get { return dimater; }
set { dimater = value; }
}
///
/// 壁厚
///
[Description("壁厚")]
[Nullable(true)]
[DataLength(10)]
public string Height
{
get { return height; }
set { height = value; }
}
///
/// 管坯规格代码(从产品规格表中取值)
///
[Description("管坯规格代码(从产品规格表中取值)")]
[Nullable(false)]
[DataLength(20)]
public string SpecCode
{
get { return specCode; }
set { specCode = value; }
}
///
/// 管坯规格描述
///
[Description("管坯规格描述")]
[Nullable(true)]
[DataLength(100)]
public string SpecName
{
get { return specName; }
set { specName = value; }
}
///
/// 扣型代码
///
[Description("扣型代码")]
[Nullable(true)]
[DataLength(20)]
public string ModelCode
{
get { return modelCode; }
set { modelCode = value; }
}
///
/// 扣型描述
///
[Description("扣型描述")]
[Nullable(true)]
[DataLength(100)]
public string ModelDesc
{
get { return modelDesc; }
set { modelDesc = value; }
}
///
/// 允许外购
///
[Description("允许外购")]
[Nullable(true)]
[DataLength(2)]
public string OutsrcAllow
{
get { return outsrcAllow; }
set { outsrcAllow = value; }
}
///
/// 首次生产(对应物料缴库时改变首次生产标识)("1";首次生产;"0":已生产过)
///
[Description("首次生产(对应物料缴库时改变首次生产标识)(\"1\";首次生产;\"0\":已生产过)")]
[Nullable(true)]
[DataLength(20)]
public string FirstPrdc
{
get { return firstPrdc; }
set { firstPrdc = value; }
}
///
/// 创建人
///
[Description("创建人")]
[Nullable(true)]
[DataLength(20)]
public string CreateName
{
get { return createName; }
set { createName = value; }
}
///
/// 创建时间
///
[Description("创建时间")]
[Nullable(true)]
public string CreateTime
{
get { return createTime; }
set { createTime = value; }
}
///
/// 修改人
///
[Description("修改人")]
[Nullable(true)]
[DataLength(20)]
public string UpdateName
{
get { return updateName; }
set { updateName = value; }
}
///
/// 修改时间
///
[Description("修改时间")]
[Nullable(true)]
public string UpdateTime
{
get { return updateTime; }
set { updateTime = value; }
}
///
/// 删除人
///
[Description("删除人")]
[Nullable(true)]
[DataLength(20)]
public string DeleteName
{
get { return deleteName; }
set { deleteName = value; }
}
///
/// 删除时间
///
[Description("删除时间")]
[Nullable(true)]
public string DeleteTime
{
get { return deleteTime; }
set { deleteTime = value; }
}
///
/// 是否自动生成工艺文件(1:是 0:否)
///
[Description("是否自动生成工艺文件(1:是 0:否)")]
[Nullable(true)]
[DataLength(2)]
public string AutoCraft
{
get { return autoCraft; }
set { autoCraft = value; }
}
///
/// 物料大类
///
[Description("物料大类")]
[Nullable(true)]
[DataLength(10)]
public string MaterialTypeMax
{
get { return materialTypeMax; }
set { materialTypeMax = value; }
}
///
/// 物料中类
///
[Description("物料中类")]
[Nullable(true)]
[DataLength(10)]
public string MaterialTypeMid
{
get { return materialTypeMid; }
set { materialTypeMid = value; }
}
///
/// 物料小类
///
[Description("物料小类")]
[Nullable(true)]
[DataLength(10)]
public string MaterialTypeMin
{
get { return materialTypeMin; }
set { materialTypeMin = value; }
}
///
/// 属性分类1
///
[Description("属性分类1")]
[Nullable(true)]
[DataLength(10)]
public string PropertyType1
{
get { return propertyType1; }
set { propertyType1 = value; }
}
///
/// 属性分类2
///
[Description("属性分类2")]
[Nullable(true)]
[DataLength(10)]
public string PropertyType2
{
get { return propertyType2; }
set { propertyType2 = value; }
}
///
/// TP系列
///
[Description("TP系列")]
[Nullable(true)]
[DataLength(2)]
public string TpSeries
{
get { return tpSeries; }
set { tpSeries = value; }
}
///
/// 特殊扣型
///
[Description("特殊扣型")]
[Nullable(true)]
[DataLength(2)]
public string SpecialModel
{
get { return specialModel; }
set { specialModel = value; }
}
///
/// 高端产品
///
[Description("高端产品")]
[Nullable(true)]
[DataLength(2)]
public string UpmarketProduct
{
get { return upmarketProduct; }
set { upmarketProduct = value; }
}
///
/// 高附加值产品
///
[Description("高附加值产品")]
[Nullable(true)]
[DataLength(2)]
public string HighAdditionalProduct
{
get { return highAdditionalProduct; }
set { highAdditionalProduct = value; }
}
///
/// 物料大类
///
[Description("物料大类")]
[Nullable(true)]
[DataLength(100)]
public string MaterialTypeMaxDesc
{
get { return materialTypeMaxDesc; }
set { materialTypeMaxDesc = value; }
}
///
/// 物料中类
///
[Description("物料中类")]
[Nullable(true)]
[DataLength(100)]
public string MaterialTypeMidDesc
{
get { return materialTypeMidDesc; }
set { materialTypeMidDesc = value; }
}
///
/// 物料小类
///
[Description("物料小类")]
[Nullable(true)]
[DataLength(100)]
public string MaterialTypeMinDesc
{
get { return materialTypeMinDesc; }
set { materialTypeMinDesc = value; }
}
///
/// 属性分类1
///
[Description("属性分类1")]
[Nullable(true)]
[DataLength(100)]
public string PropertyType1Desc
{
get { return propertyType1Desc; }
set { propertyType1Desc = value; }
}
///
/// 属性分类2
///
[Description("属性分类2")]
[Nullable(true)]
[DataLength(100)]
public string PropertyType2Desc
{
get { return propertyType2Desc; }
set { propertyType2Desc = value; }
}
///
/// 完全成本
///
[Description("完全成本")]
[Nullable(true)]
[DataLength(9)]
public decimal? TotalCost
{
get { return totalCost; }
set { totalCost = value; }
}
///
/// 数据类型(0 新增 1修改 2删除)
///
[Description("数据类型(0 新增 1修改 2删除)")]
[Nullable(true)]
[DataLength(1)]
public string DataStatus
{
get { return dataStatus; }
set { dataStatus = value; }
}
///
/// CRM是否同步(0 未同步 1已同步)
///
[Description("CRM是否同步(0 未同步 1已同步)")]
[Nullable(true)]
[DataLength(1)]
public string IsFlag
{
get { return isFlag; }
set { isFlag = value; }
}
///
/// CRM同步时间
///
[Description("CRM同步时间")]
[Nullable(true)]
public string SynchroTime
{
get { return synchroTime; }
set { synchroTime = value; }
}
///
/// 主键
///
[Description("主键")]
[Nullable(false)]
[DataLength(40)]
public string Id
{
get { return id; }
set { id = value; }
}
///
/// 插入时间
///
[Description("插入时间")]
[Nullable(true)]
public string DataTime
{
get { return dataTime; }
set { dataTime = value; }
}
}
}