TG.WXCRM.V4/Model/MAP/SMS_MSGTEMPLATE.cs

50 lines
1.2 KiB
C#

using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace WX.CRM.Model.Entity
{
public partial class SMS_MSGTEMPLATE
{
[DisplayName("类型名称")]
[NotMapped]
public decimal map_SUBTYPEID
{
get { return this.SUBTYPEID; }
set { this.SUBTYPEID = value; }
}
[DisplayName("标题")]
[NotMapped]
public string map_TITLE
{
get { return this.TITLE; }
set { this.TITLE = value; }
}
[DisplayName("模版")]
[NotMapped]
[RegularExpression("^(.){0,175}$", ErrorMessage = "最多可输入175个字符")]
public string map_TEMPLATE
{
get { return this.TEMPLATE; }
set { this.TEMPLATE = value; }
}
[DisplayName("参数")]
[NotMapped]
public string map_TPARAM
{
get { return this.TPARAM; }
set { this.TPARAM = value; }
}
[DisplayName("是否显示")]
[NotMapped]
public short map_ISSHOW
{
get { return this.ISSHOW; }
set { this.ISSHOW = value; }
}
}
}