using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace WX.CRM.Model.Entity { public partial class CSVR_FAVORITECUSTOMER { [DisplayName("收藏ID")] [NotMapped] public decimal map_PKID { get { return this.PKID; } set { this.PKID = value; } } [DisplayName("销售员ID")] [NotMapped] public decimal map_SALESID { get { return this.SALESID; } set { this.SALESID = value; } } [DisplayName("客户Id")] [NotMapped] public string map_RESID { get { return this.RESID; } set { this.RESID = value; } } [DisplayName("标签")] [NotMapped] public string map_PARAKEY { get { return this.PARAKEY; } set { this.PARAKEY = value; } } [DisplayName("备注")] [NotMapped] public string map_MEMO { get { return this.MEMO; } set { this.MEMO = value; } } [DisplayName("收藏时间")] [NotMapped] public DateTime map_CTIME { get { return this.CTIME; } set { this.CTIME = value; } } } [NotMapped] public class CSVR_FAVORITECUSTOMER_extend : CSVR_FAVORITECUSTOMER { public string Name { get; set; } public string PARAKEYNAME { get; set; } public bool HASORDER { get; set; } public DateTime? LASTACTIVETIME { get; set; } public DateTime? LASTCALLTIME { get; set; } public DateTime? LastTime { get; set; } public bool IsFx { get; set; } //public string GD { get; set; } } /// /// 收藏人和归属人 /// [NotMapped] public class CSVR_FAVORITECUSTOMER_AndMyRes { public string resid { get; set; } public decimal[] favuserid { get; set; } public decimal? myresuserid { get; set; } public string fauserStr { get; set; } public string myuserStr { get; set; } } public class CSVR_FAVORITECUSTOMER_Call { public string resid { get; set; } public decimal? salesid { get; set; } } }