using System.ComponentModel;
using Core.Mes.Client.Comm.Attribute;
namespace Core.StlMes.Client.LgResMgt.Mcms.entity
{
///
/// 数据库表CMM_RECORD_TEMPLATE所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:朱少波 时间:2020-11-12
///
public class CmmRecordTemplateEntity
{
///
/// 模板流水号 YYYYMMDD + 3位流水
///
private string templateNo = "";
///
/// 模板名
///
private string templateName = "";
///
/// 模板适用磅房编码
///
private string templateLocation = "";
///
/// 模板关键字
///
private string templateKey = "";
///
/// 模板转化的xml文件
///
private string templateXml = "";
///
/// 作废时间
///
private string deleteDate = "";
///
/// 作废人
///
private string deleteUser = "";
///
/// 有效标志(1:有效,0:无效)
///
private string validflag = "";
///
/// 创建人
///
private string createUser = "";
///
/// 创建时间
///
private string createDate = "";
///
/// 模板流水号 YYYYMMDD + 3位流水
///
[Description("模板流水号 YYYYMMDD + 3位流水")]
[Nullable(true)]
[DataLength(20)]
public string TemplateNo
{
get { return templateNo; }
set { templateNo = value; }
}
///
/// 模板名
///
[Description("模板名")]
[Nullable(true)]
[DataLength(40)]
public string TemplateName
{
get { return templateName; }
set { templateName = value; }
}
///
/// 模板适用磅房编码
///
[Description("模板适用磅房编码")]
[Nullable(true)]
[DataLength(10)]
public string TemplateLocation
{
get { return templateLocation; }
set { templateLocation = value; }
}
///
/// 模板关键字
///
[Description("模板关键字")]
[Nullable(true)]
[DataLength(10)]
public string TemplateKey
{
get { return templateKey; }
set { templateKey = value; }
}
///
/// 模板转化的xml文件
///
[Description("模板转化的xml文件")]
[Nullable(true)]
[DataLength(4000)]
public string TemplateXml
{
get { return templateXml; }
set { templateXml = value; }
}
///
/// 作废时间
///
[Description("作废时间")]
[Nullable(true)]
public string DeleteDate
{
get { return deleteDate; }
set { deleteDate = value; }
}
///
/// 作废人
///
[Description("作废人")]
[Nullable(true)]
[DataLength(10)]
public string DeleteUser
{
get { return deleteUser; }
set { deleteUser = value; }
}
///
/// 有效标志(1:有效,0:无效)
///
[Description("有效标志(1:有效,0:无效)")]
[Nullable(false)]
[DataLength(1)]
public string Validflag
{
get { return validflag; }
set { validflag = value; }
}
///
/// 创建人
///
[Description("创建人")]
[Nullable(true)]
[DataLength(10)]
public string CreateUser
{
get { return createUser; }
set { createUser = value; }
}
///
/// 创建时间
///
[Description("创建时间")]
[Nullable(true)]
public string CreateDate
{
get { return createDate; }
set { createDate = value; }
}
public override string ToString()
{
return base.ToString();
}
}
}