using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; namespace WX.CRM.Model.QueryMap { public class MyAllocatedRes { [NotMapped] public decimal PKID { get; set; } [DisplayName("资源标签")] [NotMapped] public string ResourceTag { get; set; } [DisplayName("资源类型")] [NotMapped] public string ResourceTypeName { get; set; } [DisplayName("活动名称")] [NotMapped] public string ActivityName { get; set; } [DisplayName("客户ID")] [NotMapped] public string ResId { get; set; } [NotMapped] public decimal IsView { get; set; } [DisplayName("分配时间")] [NotMapped] public DateTime DISTIME { get; set; } [DisplayName("分配次数")] [NotMapped] public decimal Dis_Times { get; set; } [DisplayName("分配备注")] [NotMapped] public string Memo { get; set; } [DisplayName("分配人")] [NotMapped] public decimal DISUSERID { get; set; } [DisplayName("资源所属人")] [NotMapped] public decimal INNERUSERID { get; set; } [NotMapped] public decimal rn { get; set; } [DisplayName("是否查看")] [NotMapped] public string IsViewName { get; set; } [DisplayName("客户姓名")] [NotMapped] public string CName { get; set; } } public class MyAllocatedRes2 { [NotMapped] public decimal PKID { get; set; } [DisplayName("资源标签")] [NotMapped] public string ResourceTag { get; set; } [DisplayName("资源类型")] [NotMapped] public string ResourceTypeName { get; set; } [DisplayName("活动名称")] [NotMapped] public string ActivityName { get; set; } [DisplayName("客户ID")] [NotMapped] public string ResId { get; set; } [NotMapped] public decimal IsView { get; set; } [DisplayName("分配时间")] [NotMapped] public DateTime DISTIME { get; set; } [DisplayName("分配次数")] [NotMapped] public decimal Dis_Times { get; set; } [DisplayName("分配备注")] [NotMapped] public string Memo { get; set; } [DisplayName("分配人")] [NotMapped] public decimal DISUSERID { get; set; } [DisplayName("资源所属人")] [NotMapped] public decimal INNERUSERID { get; set; } [NotMapped] public decimal rn { get; set; } [DisplayName("是否查看")] [NotMapped] public string IsViewName { get; set; } [DisplayName("客户姓名")] [NotMapped] public string CName { get; set; } [Description("产品类型")] [NotMapped] public string SubProductName { get; set; } [Description("开通时间")] [NotMapped] public DateTime? hasOtime { get; set; } public string CustomerCategory { get; set; } public string hasOrder { get; set; } public decimal? hasWX { get; set; } public DateTime? regtime { get; set; } public DateTime? timestart { get; set; } public DateTime? memotime { get; set; } public DateTime? distime { get; set; } public string extxml { get; set; } [Description("事业部")] [NotMapped] public string DeptName { get; set; } [Description("事业部Id")] [NotMapped] public decimal DeptId { get; set; } } public class ChangeDistbuteView { public decimal logid { get; set; } public decimal salesid { get; set; } public string resid { get; set; } public string mobile { get; set; } public decimal rn { get; set; } public string typename { get; set; } public string activityname { get; set; } } public class DistbuteCountView { public decimal salesid { get; set; } public decimal restypeid { get; set; } public string typename { get; set; } public decimal activityid { get; set; } public string activityname { get; set; } public decimal c { get; set; } public decimal rn { get; set; } } public class AllocateResourceNotice { public string ResId { get; set; } public decimal InneruserId { get; set; } public DateTime DisTime { get; set; } } }