ComplianceServer/oldcode/Core.Model/Entity/QC_CUSTOMERCOMPLAIN.cs

136 lines
3.3 KiB
C#

namespace CRM.Core.Model.Entity
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
[Table("QC_CUSTOMERCOMPLAIN")]
public partial class QC_CUSTOMERCOMPLAIN
{
[Key]
public decimal PKID { get; set; }
[Required]
[StringLength(18)]
public string RESID { get; set; }
public decimal SALESID { get; set; }
[Required]
[StringLength(2000)]
public string REASON { get; set; }
public decimal STATUS { get; set; }
[StringLength(50)]
public string FROMTYPE { get; set; }
[Required]
[StringLength(50)]
public string COMPLAINLEVEL { get; set; }
public DateTime? CTIME { get; set; }
public DateTime? UTIME { get; set; }
[StringLength(150)]
public string SERVERID { get; set; }
[StringLength(150)]
public string FILENAME { get; set; }
public decimal? RECORDID { get; set; }
public DateTime? RECORDDATE { get; set; }
[StringLength(50)]
public string TRADECODE { get; set; }
public decimal? DEPTAUDITPKID { get; set; }
[StringLength(100)]
public string COMPLIANGUID { get; set; }
public DateTime? UNHANDLEWARNTIME { get; set; }
public DateTime? HANDLEWARNTIME { get; set; }
public string COMPANYCODE { get; set; }
}
public class QC_CUSTOMERCOMPLAIN_Extend
{
[Key]
public decimal PKID { get; set; }
[Required]
[StringLength(18)]
public string RESID { get; set; }
public decimal SALESID { get; set; }
[Required]
[StringLength(2000)]
public string REASON { get; set; }
public decimal STATUS { get; set; }
[StringLength(50)]
public string FROMTYPE { get; set; }
[Required]
[StringLength(50)]
public string COMPLAINLEVEL { get; set; }
public DateTime? CTIME { get; set; }
public DateTime? UTIME { get; set; }
[StringLength(150)]
public string SERVERID { get; set; }
[StringLength(150)]
public string FILENAME { get; set; }
public decimal? RECORDID { get; set; }
public DateTime? RECORDDATE { get; set; }
[StringLength(50)]
public string TRADECODE { get; set; }
public decimal? DEPTAUDITPKID { get; set; }
[StringLength(100)]
public string COMPLIANGUID { get; set; }
public DateTime? UNHANDLEWARNTIME { get; set; }
public DateTime? HANDLEWARNTIME { get; set; }
public string COMPANYCODE { get; set; }
[NotMapped]
public string CUSTOMERNAME { get; set; }
[NotMapped]
public string FROMTYPENAME { get; set; }
[NotMapped]
public string LEVELNAME { get; set; }
[NotMapped]
public string SALESUSER { get; set; }
[NotMapped]
public string STATUSNAME { get; set; }
[NotMapped]
public string SERVICEMEMOID { get; set; }
[NotMapped]
public string SERVICERECORDID { get; set; }
[NotMapped]
public string SERVICEMEMO { get; set; }
[NotMapped]
public string RECOMPLAINLEVEL { get; set; }
}
}