93 lines
3.1 KiB
C#
93 lines
3.1 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace WX.CRM.Model.Entity
|
|
{
|
|
public partial class RES_ACTIVITY
|
|
{
|
|
|
|
/// <summary>
|
|
/// ACTIVITYID
|
|
/// </summary>
|
|
[DisplayName("活动ID")]
|
|
[NotMapped]
|
|
public decimal map_ACTIVITYID { get { return this.ACTIVITYID; } set { this.ACTIVITYID = value; } }
|
|
/// <summary>
|
|
/// ACTIVITYNAME
|
|
/// </summary>
|
|
[DisplayName("活动名称")]
|
|
[NotMapped]
|
|
[Required(ErrorMessage = ("名称不能为空!"))]
|
|
public string map_ACTIVITYNAME { get { return this.ACTIVITYNAME; } set { this.ACTIVITYNAME = value; } }
|
|
/// <summary>
|
|
/// ACTIVITYCODE
|
|
/// </summary>
|
|
[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; } }
|
|
|
|
|
|
/// <summary>
|
|
/// ACTIVITYADDR
|
|
/// </summary>
|
|
[DisplayName("活动地址")]
|
|
[NotMapped]
|
|
public string map_ACTIVITYADDR { get { return this.ACTIVITYADDR; } set { this.ACTIVITYADDR = value; } }
|
|
|
|
/// <summary>
|
|
/// RESOURCETAG
|
|
/// </summary>
|
|
[DisplayName("活动标签")]
|
|
[NotMapped]
|
|
public string map_RESOURCETAG { get { return this.RESOURCETAG; } set { this.RESOURCETAG = value; } }
|
|
/// <summary>
|
|
/// RESTYPEID
|
|
/// </summary>
|
|
[DisplayName("资源类型")]
|
|
[NotMapped]
|
|
public decimal map_RESTYPEID { get { return this.RESTYPEID; } set { this.RESTYPEID = value; } }
|
|
/// <summary>
|
|
/// MEMO
|
|
/// </summary>
|
|
[DisplayName("备注")]
|
|
[NotMapped]
|
|
public string map_MEMO { get { return this.MEMO; } set { this.MEMO = value; } }
|
|
/// <summary>
|
|
/// CTIME
|
|
/// </summary>
|
|
[DisplayName("创建时间")]
|
|
[NotMapped]
|
|
public DateTime? map_CTIME { get { return this.CTIME; } set { this.CTIME = value; } }
|
|
/// <summary>
|
|
/// CREATEUSER
|
|
/// </summary>
|
|
[DisplayName("创建人")]
|
|
[NotMapped]
|
|
public decimal? map_CREATEUSER { get { return this.CREATEUSER; } set { this.CREATEUSER = value; } }
|
|
/// <summary>
|
|
/// UTIME
|
|
/// </summary>
|
|
[DisplayName("修改时间")]
|
|
[NotMapped]
|
|
public DateTime? map_UTIME { get { return this.UTIME; } set { this.UTIME = value; } }
|
|
/// <summary>
|
|
/// UPDATEUSER
|
|
/// </summary>
|
|
[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; }
|
|
}
|
|
}
|