using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace WX.CRM.Model.Entity
{
[Table("UPDEV.TMP_DANGSAN_DATA_REPORT")]
public class TMP_DANGSAN_DATA_REPORT
{
///
/// 员工ID
///
[Key]
public decimal PKID { get; set; }
///
/// 名称
///
public string UNAME { get; set; }
///
/// 工号
///
public decimal EID { get; set; }
///
/// 分组id
///
public decimal GID { get; set; }
///
/// 分组名字
///
public string GNAME { get; set; }
///
/// 最大资源数
///
public int? MaxNum { get; set; }
public string TemplateName { get; set; }
///
/// 分配资源总数
///
public decimal TOTAL_AMOUNT { get; set; }
///
/// 活动资源总数
///
public decimal ACT_AMOUNT { get; set; }
///
/// 注册资源总数(推广)
///
public decimal REG_AMOUNT { get; set; }
///
/// 注册资源总数(非推广)
///
public decimal REG_F_AMOUNT { get; set; }
///
/// 其他资源总数
///
public decimal OTHER_AMOUNT { get; set; }
///
/// 讲解工单数
///
public decimal EXPLAIN_AMOUNT { get; set; }
///
/// 讲解率
///
public decimal EXPLAIN_RATE { get; set; }
///
/// 开单意向工单数
///
public decimal OPEN_AMOUNT { get; set; }
///
/// 开单意向工单率
///
public decimal OPEN_RATE { get; set; }
///
/// 成交订单数
///
public decimal DEAL_AMOUNT { get; set; }
///
/// 成交率
///
public decimal DEAL_RATE { get; set; }
///
/// 加微数
///
public decimal WX_AMOUNT { get; set; }
///
/// 加微率
///
public decimal WX_RATE { get; set; }
///
/// 加微数去重 (部门去重)
///
public decimal WX_AMOUNT_DISTINCT { get; set; }
///
/// 加微率去重
///
public decimal WX_RATE_DISTINCT { get; set; }
///
/// 工号去重
///
public decimal WX_AMOUNT_UNIONID { get; set; }
///
/// 加微率工号去重
///
public decimal WX_RATE_UNIONID { get; set; }
///
/// 删除数
///
public decimal DEL_AMOUNT { get; set; }
///
/// 删除率
///
public decimal DEL_RATE { get; set; }
///
/// 离职状态
///
public decimal ISDISMISS { get; set; }
}
public class TMP_EID_USERID
{
public int? EID { get; set; }
public string USERID { get; set; }
public string CORPID { get; set; }
}
public class WW_USER_EXTUSERID
{
public long Count { get; set; }
public string USERID { get; set; }
public string CORPID { get; set; }
}
public class MySql_WW_USER_EXTUSER
{
public string USERID { get; set; }
public string CORPID { get; set; }
public string Extuserid { get; set; }
public DateTime Ctime { get; set; }
}
public class UserWorkReport3View {
///
/// 名称
///
public string UNAME { get; set; }
///
/// 工号
///
public decimal EID { get; set; }
///
/// 分组id
///
public decimal GID { get; set; }
///
/// 分组名字
///
public string GNAME { get; set; }
///
/// 加微数
///
public int WX_TOTAL { get; set; }
/////
///// 加微数- 工号
/////
//public int WX_TOTAL_RE_EID { get; set; }
///
/// 加微数- 部门
///
public int WX_TOTAL_RE_DEP { get; set; }
///
/// 删除数
///
public int DEL_TOTAL { get; set; }
///
/// 删除率
///
public decimal DEL_RATE { get; set; }
///
/// 注册数
///
public int REG_TOTAL { get; set; }
///
/// 注册率
///
public decimal REG_RATE { get; set; }
///
/// APP注册数
///
public int REG_TOTAL_APP { get; set; }
///
/// APP注册率
///
public decimal REG_RATE_APP { get; set; }
///
/// PC注册数
///
public int REG_TOTAL_PC { get; set; }
///
/// PC注册率
///
public decimal REG_RATE_PC { get; set; }
///
/// 成交人数
///
public int DEAL_TOTAL { get; set; }
///
/// 成交率
///
public decimal DEAL_RATE { get; set; }
///
/// 当月成交人数
///
public int DEAL_TOTAL_M0 { get; set; }
}
public class MediareportApiModel {
public bool s { get; set; }
public string m { get; set; }
public T d { get; set; }
}
public class Mysql_Mediareport {
public int id { get; set; }
public DateTime date { get; set; }
public decimal? eid { get; set; }
public int? wx_total { get; set; }
public int? wx_total_re { get; set; }
public int? wx_del_total { get; set; }
public int? reg_total { get; set; }
public int? order_total { get; set; }
public DateTime operatortime { get; set; }
}
public class Mysql_MediareportBase
{
public int deptid { get; set; }
public decimal? eid { get; set; }
///
/// 总关注
///
public int? total { get; set; }
///
/// 新增总关注
///
public int? newsubscribe { get; set; }
///
/// 取关人数
///
public int? unsubscribe { get; set; }
///
/// 开单人数
///
public int? totalorders { get; set; }
///
/// 部门新增
///
public int? eidrepeattypenewneq202dept { get; set; }
///
/// 工号新增
///
public int? eidrepeattypenewneq202 { get; set; }
///
/// 软件注册
///
public int? softregs { get; set; }
}
public class Mysql_Mediareport3
{
public int deptid { get; set; }
public decimal? eid { get; set; }
public int? total { get; set; }
public int? addway202 { get; set; }
public int? unsubscribe { get; set; }
public int? unsubscribeaddway202 { get; set; }
public int? repeattype { get; set; }
public int? repeattype100 { get; set; }
public int? repeattype150 { get; set; }
public int? dgeeregsdept { get; set; }
public int? appregsdept { get; set; }
public int? totaluv { get; set; }
public int? totaluv_m0 { get; set; }
}
public class RZApiModel
{
public T Data { get; set; }
}
public class RZApiItem
{
public int eid { get; set; }
public int? total { get; set; }
public int? newsubscribe { get; set; }
public int? eidrepeattypenew { get; set; }
public int? eidrepeattype1deptnew { get; set; }
}
public class GetWarnningTemplateDto : SearchPageBase
{
public GetWarnningTemplateDto()
{
}
///
/// id
///
public int? Id { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 事业部
///
public string DeptId { get; set; }
}
public class SearchPageBase
{
public int PageIndex { get; set; }
public int PageSize { get; set; }
public string Sort { get; set; }
public string Order { get; set; }
}
public class CreateOrEditSettingDto
{
public CreateOrEditSettingDto()
{
}
public int? DeptId { get; set; }
///
/// 最大数量
///
public int? MaxNum { get; set; }
///
/// 用户
///
public string Participant { get; set; }
public List WarnUserInfo { get; set; }
///
/// 模板id
///
public int? templateId { get; set; }
public string Eid { get; set; }
}
public class WarnUserInfo
{
public decimal Eid { get; set; }
public string Name { get; set; }
}
public class TemplateListModel
{
public int Id { get; set; }
public int DeptId { get; set; }
public int Count { get; set; }
public string TemplateName { get; set; }
public DateTime? PeriodFrom { get; set; }
public DateTime? PeriodTo { get; set; }
public string PrewarningValue { get; set; }
public string PeriodFromShow { get; set; }
public string PeriodToShow { get; set; }
public string DeptName { get; set; }
public int Maxnum { get; set; }
public List TemplateSettingDetail { get; set; }
}
public class TemplateSettingDetail
{
public string guid { get; set; }
public int? type { get; set; }
public int? value { get; set; }
}
public class TemplateReturnModel
{
public int pageIndex { get; set; }
public int pageSize { get; set; }
public int total { get; set; }
public int totalCount { get; set; }
public List data { get; set; }
}
public class WarnUserList
{
public string Code { get; set; }
public int DeptId { get; set; }
public int Count { get; set; }
public string DeptName { get; set; }
public List ParticipantIds { get; set; }
public string Participant { get; set; }
}
public class GetWarnningUserDto : SearchPageBase
{
public GetWarnningUserDto()
{
}
public string DeptId { get; set; }
}
public class EarlyWarningUser
{
public string Code { get; set; }
public int Deptid { get; set; }
public string WxWorkId { get; set; }
public string AppId { get; set; }
public string CropId { get; set; }
public string CropName { get; set; }
public List ParticipantIds { get; set; }
public string Participant { get; set; }
}
public class WranReportListModel
{
public decimal? Eid { get; set; }
public int? MaxNum { get; set; }
public string Name { get; set; }
}
public class EarlyWarningSetting
{
public string AppId { get; set; }
public string Cropid { get; set; }
public string CropName { get; set; }
}
public class SearchEarlyWarningLogDto : SearchPageBase
{
///
/// 达量日期
///
public string AttainTimeFrom { get; set; }
///
/// 达量日期
///
public string AttainTimeTo { get; set; }
public string Sgin { get; set; }
///
/// 工号
///
public int? Eid { get; set; }
///
/// 姓名
///
public string Name { get; set; }
///
/// 状态
///
public int? Status { get; set; }
}
}