using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace WX.CRM.Model.Entity { public partial class RES_ACTIVITY { /// /// ACTIVITYID /// [DisplayName("活动ID")] [NotMapped] public decimal map_ACTIVITYID { get { return this.ACTIVITYID; } set { this.ACTIVITYID = value; } } /// /// ACTIVITYNAME /// [DisplayName("活动名称")] [NotMapped] [Required(ErrorMessage = ("名称不能为空!"))] public string map_ACTIVITYNAME { get { return this.ACTIVITYNAME; } set { this.ACTIVITYNAME = value; } } /// /// ACTIVITYCODE /// [DisplayName("活动编码")] [NotMapped] [Required(ErrorMessage = ("编码不能为空!"))] //[RegularExpression("[A-Za-z]{1}[0-9]{7}", ErrorMessage = "编码=资源类型编码+3位数字")] public string map_ACTIVITYCODE { get { return this.ACTIVITYCODE; } set { this.ACTIVITYCODE = value; } } /// /// ACTIVITYADDR /// [DisplayName("活动地址")] [NotMapped] public string map_ACTIVITYADDR { get { return this.ACTIVITYADDR; } set { this.ACTIVITYADDR = value; } } /// /// RESOURCETAG /// [DisplayName("活动标签")] [NotMapped] public string map_RESOURCETAG { get { return this.RESOURCETAG; } set { this.RESOURCETAG = value; } } /// /// RESTYPEID /// [DisplayName("资源类型")] [NotMapped] public decimal map_RESTYPEID { get { return this.RESTYPEID; } set { this.RESTYPEID = value; } } /// /// MEMO /// [DisplayName("备注")] [NotMapped] public string map_MEMO { get { return this.MEMO; } set { this.MEMO = value; } } /// /// CTIME /// [DisplayName("创建时间")] [NotMapped] public DateTime? map_CTIME { get { return this.CTIME; } set { this.CTIME = value; } } /// /// CREATEUSER /// [DisplayName("创建人")] [NotMapped] public decimal? map_CREATEUSER { get { return this.CREATEUSER; } set { this.CREATEUSER = value; } } /// /// UTIME /// [DisplayName("修改时间")] [NotMapped] public DateTime? map_UTIME { get { return this.UTIME; } set { this.UTIME = value; } } /// /// UPDATEUSER /// [DisplayName("修改人")] [NotMapped] public decimal? map_UPDATEUSER { get { return this.UPDATEUSER; } set { this.UPDATEUSER = value; } } } public class RES_ACTIVITY_EXTEND { [NotMapped] public RES_ACTIVITY res_ACTIVITY { get; set; } [NotMapped] public string TYPEName { get; set; } } }