304 lines
8.8 KiB
C#
304 lines
8.8 KiB
C#
using Microsoft.VisualBasic;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace Crm.Core.Domain.Dto.Live
|
||
{
|
||
public class LiveUserRealTimeDataDto
|
||
{
|
||
public LiveUserRealTimeDataDto(string app_id, string c_appid, string c_appuserid, string appuserid, string city, string country, long? customerid, string deptName,
|
||
long? deptid, long? eid, string employeeName,int buyAction, string subproductName, string entryTime, string headimgurl, string ip, long isOnline,
|
||
string lastTime, string livingDate, string nickname, long offlineTime, string province, string resid, long scheduleid,
|
||
long? selfDeptid, long? selfEid, string title, string updateTime, long userType, long watchTime, int? inviterEid, int? isBelong, int? isWework,int? interaction, int interact_num)
|
||
{
|
||
app_id = app_id;
|
||
Appuserid = appuserid;
|
||
c_appid = c_appid;
|
||
c_appuserid = c_appuserid;
|
||
Interaction = interaction;
|
||
InteractNum = interact_num;
|
||
City = city;
|
||
Country = country;
|
||
Customerid = customerid;
|
||
DeptName = deptName;
|
||
Deptid = deptid;
|
||
Eid = eid;
|
||
EmployeeName = employeeName;
|
||
BuyAction = buyAction;
|
||
SubproductName = subproductName;
|
||
EntryTime = entryTime;
|
||
IsBelong = isBelong;
|
||
IsWework = isWework;
|
||
Headimgurl = headimgurl;
|
||
Ip = ip;
|
||
IsOnline = isOnline;
|
||
LastTime = lastTime;
|
||
LivingDate = livingDate;
|
||
Nickname = nickname;
|
||
OfflineTime = offlineTime;
|
||
Province = province;
|
||
Resid = resid;
|
||
Scheduleid = scheduleid;
|
||
SelfDeptid = selfDeptid;
|
||
SelfEid = selfEid;
|
||
Title = title;
|
||
UpdateTime = updateTime;
|
||
UserType = userType;
|
||
WatchTime = watchTime;
|
||
InviterEid = inviterEid;
|
||
}
|
||
|
||
public LiveUserRealTimeDataDto()
|
||
{ }
|
||
|
||
/// <summary>
|
||
/// 应用ID
|
||
/// </summary>
|
||
[JsonPropertyName("app_id")]
|
||
public string app_id { get; set; }
|
||
/// <summary>
|
||
/// 应用ID(无resid时用作查线索)
|
||
/// </summary>
|
||
[JsonPropertyName("c_appid")]
|
||
public string c_appid { get; set; }
|
||
/// <summary>
|
||
/// 应用用户账号(无resid时用作查线索)
|
||
/// </summary>
|
||
[JsonPropertyName("c_appuserid")]
|
||
public string c_appuserid { get; set; }
|
||
/// <summary>
|
||
/// 直播中互动,1:有,0:无
|
||
/// </summary>
|
||
[JsonPropertyName("interaction")]
|
||
public int? Interaction { get; set; }
|
||
/// <summary>
|
||
/// 直播中互动,1:有,0:无
|
||
/// </summary>
|
||
[JsonPropertyName("interact_num")]
|
||
public int? InteractNum { get; set; }
|
||
/// <summary>
|
||
/// 企微应用
|
||
/// </summary>
|
||
[JsonPropertyName("app_name")]
|
||
public string AppName { get; set; }
|
||
/// <summary>
|
||
/// 好友关系 1:是,0:否
|
||
/// </summary>
|
||
[JsonPropertyName("is_wework")]
|
||
public int? IsWework { get; set; }
|
||
/// <summary>
|
||
/// 应用用户账号
|
||
/// </summary>
|
||
[JsonPropertyName("appuserid")]
|
||
public string Appuserid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 城市
|
||
/// </summary>
|
||
[JsonPropertyName("city")]
|
||
public string City { get; set; }
|
||
|
||
/// <summary>
|
||
/// 1表示直播中,0表示直播结束
|
||
/// </summary>
|
||
[JsonPropertyName("is_living")]
|
||
public int IsLiving { get; set; }
|
||
|
||
/// <summary>
|
||
/// 国家
|
||
/// </summary>
|
||
[JsonPropertyName("country")]
|
||
public string Country { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户主账号
|
||
/// </summary>
|
||
[JsonPropertyName("customerid")]
|
||
public long? Customerid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 部门名称
|
||
/// </summary>
|
||
[JsonPropertyName("dept_name")]
|
||
public string DeptName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 员工部门ID
|
||
/// </summary>
|
||
[JsonPropertyName("deptid")]
|
||
public long? Deptid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 员工工号
|
||
/// </summary>
|
||
[JsonPropertyName("eid")]
|
||
public long? Eid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 员工名称
|
||
/// </summary>
|
||
[JsonPropertyName("employee_name")]
|
||
public string EmployeeName { get; set; }
|
||
/// <summary>
|
||
/// 是否属于归属 1 是 0 否
|
||
/// </summary>
|
||
[JsonPropertyName("is_belong")]
|
||
public int? IsBelong { get; set; }
|
||
/// 购买行为
|
||
/// </summary>
|
||
[JsonPropertyName("buy_action")]
|
||
public int? BuyAction { get; set; }
|
||
/// <summary>
|
||
/// 产品ID
|
||
/// </summary>
|
||
[JsonPropertyName("subproductname")]
|
||
public string? SubproductName { get; set; }
|
||
/// <summary>
|
||
/// 进入直播时间
|
||
/// </summary>
|
||
[JsonPropertyName("entry_time")]
|
||
public string EntryTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户头像
|
||
/// </summary>
|
||
[JsonPropertyName("headimgurl")]
|
||
public string Headimgurl { get; set; }
|
||
|
||
/// <summary>
|
||
/// IP地址
|
||
/// </summary>
|
||
[JsonPropertyName("ip")]
|
||
public string Ip { get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否在线
|
||
/// </summary>
|
||
[JsonPropertyName("is_online")]
|
||
public long IsOnline { get; set; }
|
||
|
||
/// <summary>
|
||
/// 最后离开时间
|
||
/// </summary>
|
||
[JsonPropertyName("last_time")]
|
||
public string LastTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 直播日期
|
||
/// </summary>
|
||
[JsonPropertyName("living_date")]
|
||
public string LivingDate { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户昵称
|
||
/// </summary>
|
||
[JsonPropertyName("nickname")]
|
||
public string Nickname { get; set; }
|
||
|
||
/// <summary>
|
||
/// 离线时间
|
||
/// </summary>
|
||
[JsonPropertyName("offline_time")]
|
||
public long OfflineTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 身份
|
||
/// </summary>
|
||
[JsonPropertyName("province")]
|
||
public string Province { get; set; }
|
||
|
||
/// <summary>
|
||
/// 客户ID
|
||
/// </summary>
|
||
[JsonPropertyName("resid")]
|
||
public string Resid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 客户ID
|
||
/// </summary>
|
||
[JsonPropertyName("umid")]
|
||
public string? Umid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 课程ID
|
||
/// </summary>
|
||
[JsonPropertyName("scheduleid")]
|
||
public long Scheduleid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 自身部门ID
|
||
/// </summary>
|
||
[JsonPropertyName("self_deptid")]
|
||
public long? SelfDeptid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 自身工号
|
||
/// </summary>
|
||
[JsonPropertyName("self_eid")]
|
||
public long? SelfEid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 课程名称
|
||
/// </summary>
|
||
[JsonPropertyName("title")]
|
||
public string Title { get; set; }
|
||
|
||
/// <summary>
|
||
/// 更新时间
|
||
/// </summary>
|
||
[JsonPropertyName("update_time")]
|
||
public string UpdateTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户类型,0:员工,1:客户
|
||
/// </summary>
|
||
[JsonPropertyName("user_type")]
|
||
public long UserType { get; set; }
|
||
|
||
/// <summary>
|
||
/// 观看时间
|
||
/// </summary>
|
||
[JsonPropertyName("watch_time")]
|
||
public long WatchTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 观看时间(中文)
|
||
/// </summary>
|
||
[JsonPropertyName("watch_time_str")]
|
||
public string WatchTimeStr
|
||
{ get { return Utility.SecondToHour(WatchTime); } }
|
||
|
||
/// <summary>
|
||
/// 组别id
|
||
/// </summary>
|
||
[JsonPropertyName("groupid")]
|
||
public decimal? Groupid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 组别
|
||
/// </summary>
|
||
[JsonPropertyName("group_name")]
|
||
public string? GroupName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 进线时间
|
||
/// </summary>
|
||
[JsonPropertyName("create_time")]
|
||
public string? CreateTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 企微客服id
|
||
/// </summary>
|
||
[JsonPropertyName("userid")]
|
||
public string? Userid { get; set; }
|
||
|
||
[JsonPropertyName("inviter_eid")]
|
||
public int? InviterEid { get; set; }
|
||
|
||
[JsonPropertyName("username")]
|
||
public string? Username { get; set; }
|
||
}
|
||
} |