using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using Core.Mes.Client.Comm.Attribute;
using Newtonsoft.Json;
namespace Core.StlMes.Client.SaleOrder
{
public class SlmBaseMaterialEntity
{
///
/// 物料编码
///
private object materialNo;
///
/// 物料描述
///
private object materialDesc;
///
/// 品名代码
///
private object produccode;
///
/// 品名描述
///
private object producname;
///
/// 品名简称
///
private object producJx;
///
/// 品名英语名称
///
private object producEng;
///
/// 标准类别代码
///
private object stdStyle;
///
/// 标准类别描述(PSL1....)
///
private object stdStyleDesc;
///
/// 钢级(牌号)代码
///
private object steelcode;
///
/// 钢级(牌号)名称
///
private object steelname;
///
/// 钢种代码(GZ0001)
///
private object gradecode;
///
/// 钢种名称
///
private object gradename;
///
/// 外径
///
private object dimater;
///
/// 壁厚
///
private object height;
///
/// 管坯规格代码(从产品规格表中取值)
///
private object specCode;
///
/// 管坯规格描述
///
private object specName;
///
/// 扣型代码
///
private object modelCode;
///
/// 扣型描述
///
private object modelDesc;
///
/// 允许外购
///
private object outsrcAllow;
///
/// 首次生产(对应物料缴库时改变首次生产标识)
///
private object firstPrdc;
///
/// 创建人
///
private object createName;
///
/// 创建时间
///
private object createTime;
///
/// 修改人
///
private object updateName;
///
/// 修改时间
///
private object updateTime;
///
/// 删除人
///
private object deleteName;
///
/// 删除时间
///
private object 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 string totalCost = "";
public SlmBaseMaterialEntity()
{
materialNo = "";
materialDesc = "";
produccode = "";
producname = "";
producJx = "";
producEng = "";
stdStyle = "";
stdStyleDesc = "";
steelcode = "";
steelname = "";
gradecode = "";
gradename = "";
dimater = "";
height = "";
specCode = "";
specName = "";
modelCode = "";
modelDesc = "";
outsrcAllow = "";
firstPrdc = "";
createName = "";
createTime = "";
updateName = "";
updateTime = "";
deleteName = "";
deleteTime = "";
}
///
/// 物料编码
///
[Description("物料编码")]
public object MaterialNo
{
get { return materialNo; }
set
{
if (value == null)
{
materialNo = DBNull.Value;
}
else
{
materialNo = value;
}
}
}
///
/// 物料描述
///
[Description("物料描述")]
public object MaterialDesc
{
get { return materialDesc; }
set
{
if (value == null)
{
materialDesc = DBNull.Value;
}
else
{
materialDesc = value;
}
}
}
///
/// 品名代码
///
[Description("品名代码")]
public object Produccode
{
get { return produccode; }
set
{
if (value == null)
{
produccode = DBNull.Value;
}
else
{
produccode = value;
}
}
}
///
/// 品名描述
///
[Description("品名描述")]
public object Producname
{
get { return producname; }
set
{
if (value == null)
{
producname = DBNull.Value;
}
else
{
producname = value;
}
}
}
///
/// 品名简称
///
[Description("品名简称")]
public object ProducJx
{
get { return producJx; }
set
{
if (value == null)
{
producJx = DBNull.Value;
}
else
{
producJx = value;
}
}
}
///
/// 品名英语名称
///
[Description("品名英语名称")]
public object ProducEng
{
get { return producEng; }
set
{
if (value == null)
{
producEng = DBNull.Value;
}
else
{
producEng = value;
}
}
}
///
/// 标准类别代码
///
[Description("标准类别代码")]
public object StdStyle
{
get { return stdStyle; }
set
{
if (value == null)
{
stdStyle = DBNull.Value;
}
else
{
stdStyle = value;
}
}
}
///
/// 标准类别描述(PSL1....)
///
[Description("标准类别描述")]
public object StdStyleDesc
{
get { return stdStyleDesc; }
set
{
if (value == null)
{
stdStyleDesc = DBNull.Value;
}
else
{
stdStyleDesc = value;
}
}
}
///
/// 钢级(牌号)代码
///
[Description("钢级(牌号)代码")]
public object Steelcode
{
get { return steelcode; }
set
{
if (value == null)
{
steelcode = DBNull.Value;
}
else
{
steelcode = value;
}
}
}
///
/// 钢级(牌号)名称
///
[Description("钢级(牌号)名称")]
public object Steelname
{
get { return steelname; }
set
{
if (value == null)
{
steelname = DBNull.Value;
}
else
{
steelname = value;
}
}
}
///
/// 钢种代码(GZ0001)
///
[Description("钢种代码")]
public object Gradecode
{
get { return gradecode; }
set
{
if (value == null)
{
gradecode = DBNull.Value;
}
else
{
gradecode = value;
}
}
}
///
/// 钢种名称
///
[Description("钢种名称")]
public object Gradename
{
get { return gradename; }
set
{
if (value == null)
{
gradename = DBNull.Value;
}
else
{
gradename = value;
}
}
}
///
/// 外径
///
[Description("外径")]
public object Dimater
{
get { return dimater; }
set
{
if (value == null)
{
dimater = DBNull.Value;
}
else
{
dimater = value;
}
}
}
///
/// 壁厚
///
[Description("壁厚")]
public object Height
{
get { return height; }
set
{
if (value == null)
{
height = DBNull.Value;
}
else
{
height = value;
}
}
}
///
/// 管坯规格代码(从产品规格表中取值)
///
[Description("管坯规格代码")]
public object SpecCode
{
get { return specCode; }
set
{
if (value == null)
{
specCode = DBNull.Value;
}
else
{
specCode = value;
}
}
}
///
/// 管坯规格描述
///
[Description("管坯规格描述")]
public object SpecName
{
get { return specName; }
set
{
if (value == null)
{
specName = DBNull.Value;
}
else
{
specName = value;
}
}
}
///
/// 扣型代码
///
[Description("扣型代码")]
public object ModelCode
{
get { return modelCode; }
set
{
if (value == null)
{
modelCode = DBNull.Value;
}
else
{
modelCode = value;
}
}
}
///
/// 扣型描述
///
[Description("扣型描述")]
public object ModelDesc
{
get { return modelDesc; }
set
{
if (value == null)
{
modelDesc = DBNull.Value;
}
else
{
modelDesc = value;
}
}
}
///
/// 允许外购
///
[Description("允许外购")]
public object OutsrcAllow
{
get { return outsrcAllow; }
set
{
if (value == null)
{
outsrcAllow = DBNull.Value;
}
else
{
outsrcAllow = value;
}
}
}
///
/// 首次生产(对应物料缴库时改变首次生产标识)
///
[Description("首次生产")]
public object FirstPrdc
{
get { return firstPrdc; }
set
{
if (value == null)
{
firstPrdc = DBNull.Value;
}
else
{
firstPrdc = value;
}
}
}
///
/// 创建人
///
[Description("创建人")]
public object CreateName
{
get { return createName; }
set
{
if (value == null)
{
createName = DBNull.Value;
}
else
{
createName = value;
}
}
}
///
/// 创建时间
///
[Description("创建时间")]
public object CreateTime
{
get { return createTime; }
set
{
if (value == null)
{
createTime = DBNull.Value;
}
else
{
createTime = value;
}
}
}
///
/// 修改人
///
[Description("修改人")]
public object UpdateName
{
get { return updateName; }
set
{
if (value == null)
{
updateName = DBNull.Value;
}
else
{
updateName = value;
}
}
}
///
/// 修改时间
///
[Description("修改时间")]
public object UpdateTime
{
get { return updateTime; }
set
{
if (value == null)
{
updateTime = DBNull.Value;
}
else
{
updateTime = value;
}
}
}
///
/// 删除人
///
[Description("删除人")]
public object DeleteName
{
get { return deleteName; }
set
{
if (value == null)
{
deleteName = DBNull.Value;
}
else
{
deleteName = value;
}
}
}
///
/// 删除时间
///
[Description("删除时间")]
public object DeleteTime
{
get { return deleteTime; }
set
{
if (value == null)
{
deleteTime = DBNull.Value;
}
else
{
deleteTime = value;
}
}
}
///
/// 是否自动生成工艺文件(1:是 0:否)
///
[Description("是否自动生成工艺文件")]
[Nullable(true)]
[DataLength(1)]
[JsonProperty("autoCraft")]
public string AutoCraft
{
get { return autoCraft; }
set { autoCraft = value; }
}
///
/// 物料大类
///
[Description("物料大类")]
[Nullable(true)]
[DataLength(10)]
[JsonProperty("materialTypeMax")]
public string MaterialTypeMax
{
get { return materialTypeMax; }
set { materialTypeMax = value; }
}
///
/// 物料中类
///
[Description("物料中类")]
[Nullable(true)]
[DataLength(10)]
[JsonProperty("materialTypeMid")]
public string MaterialTypeMid
{
get { return materialTypeMid; }
set { materialTypeMid = value; }
}
///
/// 物料小类
///
[Description("物料小类")]
[Nullable(true)]
[DataLength(10)]
[JsonProperty("materialTypeMin")]
public string MaterialTypeMin
{
get { return materialTypeMin; }
set { materialTypeMin = value; }
}
///
/// 属性分类1
///
[Description("属性分类1")]
[Nullable(true)]
[DataLength(10)]
[JsonProperty("propertyType1")]
public string PropertyType1
{
get { return propertyType1; }
set { propertyType1 = value; }
}
///
/// 属性分类2
///
[Description("属性分类2")]
[Nullable(true)]
[DataLength(10)]
[JsonProperty("propertyType2")]
public string PropertyType2
{
get { return propertyType2; }
set { propertyType2 = value; }
}
///
/// TP系列
///
[Description("TP系列")]
[Nullable(true)]
[DataLength(1)]
[JsonProperty("tpSeries")]
public string TpSeries
{
get { return tpSeries; }
set { tpSeries = value; }
}
///
/// 特殊扣型
///
[Description("特殊扣型")]
[Nullable(true)]
[DataLength(1)]
[JsonProperty("specialModel")]
public string SpecialModel
{
get { return specialModel; }
set { specialModel = value; }
}
///
/// 高端产品
///
[Description("高端产品")]
[Nullable(true)]
[DataLength(1)]
[JsonProperty("upmarketProduct")]
public string UpmarketProduct
{
get { return upmarketProduct; }
set { upmarketProduct = value; }
}
///
/// 高附加值产品
///
[Description("高附加值产品")]
[Nullable(true)]
[DataLength(1)]
[JsonProperty("highAdditionalProduct")]
public string HighAdditionalProduct
{
get { return highAdditionalProduct; }
set { highAdditionalProduct = value; }
}
///
/// 物料大类
///
[Description("物料大类")]
[Nullable(true)]
[DataLength(100)]
[JsonProperty("materialTypeMaxDesc")]
public string MaterialTypeMaxDesc
{
get { return materialTypeMaxDesc; }
set { materialTypeMaxDesc = value; }
}
///
/// 物料中类
///
[Description("物料中类")]
[Nullable(true)]
[DataLength(100)]
[JsonProperty("materialTypeMidDesc")]
public string MaterialTypeMidDesc
{
get { return materialTypeMidDesc; }
set { materialTypeMidDesc = value; }
}
///
/// 物料小类
///
[Description("物料小类")]
[Nullable(true)]
[DataLength(100)]
[JsonProperty("materialTypeMinDesc")]
public string MaterialTypeMinDesc
{
get { return materialTypeMinDesc; }
set { materialTypeMinDesc = value; }
}
///
/// 属性分类1
///
[Description("属性分类1")]
[Nullable(true)]
[DataLength(100)]
[JsonProperty("propertyType1Desc")]
public string PropertyType1Desc
{
get { return propertyType1Desc; }
set { propertyType1Desc = value; }
}
///
/// 属性分类2
///
[Description("属性分类2")]
[Nullable(true)]
[DataLength(100)]
[JsonProperty("propertyType2Desc")]
public string PropertyType2Desc
{
get { return propertyType2Desc; }
set { propertyType2Desc = value; }
}
///
/// 完全成本
///
[Description("工序成本")]
[Nullable(true)]
[DataLength(100)]
[JsonProperty("totalCost")]
public string TotalCost
{
get { return totalCost; }
set { totalCost = value; }
}
}
}