using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using WX.CRM.Model.MAP; namespace WX.CRM.Model.Entity { public partial class QC_CUSTOMERCOMPLAIN { [NotMapped] public decimal map_PKID { get { return this.PKID; } set { this.PKID = value; } } [DisplayName("客户ID")] [Required(ErrorMessage = "客户ID不能为空")] [RegularExpression("^([0-9]){18}$", ErrorMessage = "必须是18个纯数字")] [NotMapped] public string map_RESID { get { return this.RESID; } set { this.RESID = value; } } [NotMapped] public decimal map_SALESID { get { return this.SALESID; } set { this.SALESID = value; } } [DisplayName("投诉内容")] [Required(ErrorMessage = "投诉内容不能为空")] [RegularExpression("^[\\s\\S]{1,2000}$", ErrorMessage = "最多可输入2000个字符")] [NotMapped] public string map_REASON { get { return this.REASON; } set { this.REASON = value; } } [NotMapped] public decimal map_STATUS { get { return this.STATUS; } set { this.STATUS = value; } } [DisplayName("投诉客户来源")] [NotMapped] public string map_FROMTYPE { get { return this.FROMTYPE; } set { this.FROMTYPE = value; } } [DisplayName("投诉客户等级")] [NotMapped] public string map_COMPLAINLEVEL { get { return this.COMPLAINLEVEL; } set { this.COMPLAINLEVEL = value; } } [NotMapped] public Nullable map_CTIME { get { return this.CTIME; } set { this.CTIME = value; } } [NotMapped] public Nullable map_UTIME { get { return this.UTIME; } set { this.UTIME = value; } } [NotMapped] public string map_SERVERID { get { return this.SERVERID; } set { this.SERVERID = value; } } [NotMapped] public string map_FILENAME { get { return this.FILENAME; } set { this.FILENAME = value; } } [NotMapped] public Nullable map_RECORDID { get { return this.RECORDID; } set { this.RECORDID = value; } } [NotMapped] public Nullable map_RECORDDATE { get { return this.RECORDDATE; } set { this.RECORDDATE = value; } } [DisplayName("交易商代码")] [NotMapped] public string map_TRADECODE { get { return this.TRADECODE; } set { this.TRADECODE = value; } } [NotMapped] public Nullable map_DEPTAUDITPKID { get { return this.DEPTAUDITPKID; } set { this.DEPTAUDITPKID = value; } } [NotMapped] public string map_COMPLIANGUID { get { return this.COMPLIANGUID; } set { this.COMPLIANGUID = value; } } } public class QC_CUSTOMERCOMPLAIN_Extend { [NotMapped] public QC_CUSTOMERCOMPLAIN customerComplain { get; set; } [NotMapped] public string CUSTOMERNAME { get; set; } [NotMapped] public string FROMTYPENAME { get; set; } [NotMapped] public string LEVELNAME { get; set; } [NotMapped] public string GROUPNAME { get; set; } [NotMapped] public string SALESUSER { get; set; } [NotMapped] public string STATUSNAME { get; set; } } public class QC_CustomerComplain_Check_View { public QC_CUSTOMERCOMPLAIN CustomerComplain { get; set; } public QC_COMPLAIN_SERVICEMEMO_VIEW ServiceMemo { get; set; } } }