using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace WX.CRM.Model.Entity { [Table("UPDEV.RES_CUSTOMER_BEST")] public partial class RES_CUSTOMER_BEST { [Key] [StringLength(100)] public string RESID { get; set; } public DateTime? CTIME { get; set; } public DateTime? UTIME { get; set; } [StringLength(1000)] public string REMARK { get; set; } /// /// 创建人 /// public decimal? CREATEID { get; set; } public string CUSERNAME { get; set; } [StringLength(255)] public string CORPID { get; set; } [StringLength(255)] public string OUTUSERID { get; set; } [StringLength(255)] public string USERID { get; set; } } public partial class RES_CUSTOMER_BESTEditModel { public string RESID { get; set; } [StringLength(1000)] public string REMARK { get; set; } } public class BestCustomerViewModel { public string ResId { get; set; } public string UMID { get; set; } public string Name { get; set; } public DateTime? Ctime { get; set; } public string Remark { get; set; } public int SumCount { get; set; } public decimal? SumPrice { get; set; } public string wx_userIds { get; set; } public string Group { get; set; } public string DeptName { get; set; } public decimal? Eid { get; set; } public string UserName { get; set; } } public class BestCustomerQueryDto { public string resId { get; set; } public decimal? minPrice { get; set; } public decimal? maxPrice { get; set; } public decimal? txt_companyId { get; set; } public string deptId { get; set; } public string groupIds { get; set; } public decimal? userId { get; set; } public string txt_businessId { get; set; } } }