using Core.Mes.Client.Comm.Attribute; using System; using System.ComponentModel; namespace Core.StlMes.Client.Qcm.model { /// /// 数据库表COM_BASE_GRADE所对应的实体类(生成工具:代码生成工具3.0) /// 作者:Chenxi-PC2 时间:2015-09-21 /// public class ComBaseGradeEntity { /// /// 钢种代码(GZ0001) /// private string gradecode = ""; /// /// 钢种名称 /// private string gradename = ""; /// /// 钢种分类代码(4002) /// private string assortmentCode = ""; /// /// 钢种分类名称 /// private string assortmentName = ""; /// /// 钢种系数 /// private decimal? coefficient = null; /// /// 创建人 /// private string createName = ""; /// /// 创建时间 /// private string createTime = ""; /// /// 修改人 /// private string updateName = ""; /// /// 修改时间 /// private string updateTime = ""; /// /// 删除人 /// private string deleteName = ""; /// /// 删除时间 /// private string deleteTime = ""; /// /// 有效标志(1:有效,0:无效) /// private string validflag = ""; /// /// 备注 /// private string memo = ""; /// /// {老系统}钢种代码(GZ0001) /// private string gradecodeOld = ""; /// /// 是否允许外购(1:允许;0:不允许) /// private string allowBuy = ""; private string allowBuyDesc = ""; private string validflagDesc = ""; private bool? chk = false; /// /// 选择 /// [Description("选择")] public bool? Chk { get { return chk; } set { chk = value; } } /// /// 允许外购 /// [Description("允许外购")] public string AllowBuyDesc { get { return allowBuyDesc; } set { allowBuyDesc = value; } } /// /// 钢种代码(GZ0001) /// [Description("钢种代码")] [Nullable(false)] [DataLength(6)] public string Gradecode { get { return gradecode; } set { gradecode = value; } } /// /// 钢种名称 /// [Description("钢种")] [Nullable(false)] [DataLength(100)] public string Gradename { get { return gradename; } set { gradename = value; } } /// /// 钢种分类代码(4002) /// [Description("钢种分类")] [Nullable(false)] [DataLength(10)] public string AssortmentCode { get { return assortmentCode; } set { assortmentCode = value; } } /// /// 钢种分类名称 /// [Description("钢种分类")] [Nullable(false)] [DataLength(200)] public string AssortmentName { get { return assortmentName; } set { assortmentName = value; } } /// /// 钢种系数 /// [Description("钢种系数")] [Nullable(false)] [DataLength(4)] public decimal? Coefficient { get { return coefficient; } set { coefficient = 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("有效标志")] [Nullable(false)] [DataLength(1)] public string Validflag { get { return validflag; } set { validflag = value; } } /// /// 备注 /// [Description("备注")] [Nullable(true)] [DataLength(200)] public string Memo { get { return memo; } set { memo = value; } } /// /// {老系统}钢种代码(GZ0001) /// [Description("{老系统}钢种代码(GZ0001)")] [Nullable(true)] [DataLength(20)] public string GradecodeOld { get { return gradecodeOld; } set { gradecodeOld = value; } } /// /// 是否允许外购(1:允许;0:不允许) /// [Description("允许外购")] [Nullable(false)] [DataLength(1)] public string AllowBuy { get { return allowBuy; } set { allowBuy = value; } } /// /// 有效标志 /// [Description("有效标志")] [Nullable(false)] public string ValidflagDesc { get { return validflagDesc; } set { validflagDesc = value; } } } }