243 lines
6.3 KiB
C#
243 lines
6.3 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace Crm.Core.Domain.Dto.LivePlayback
|
||
{
|
||
public class LivePlaybackSummayDto
|
||
{
|
||
/// <summary>
|
||
/// 应用ID
|
||
/// </summary>
|
||
[JsonPropertyName("app_id")]
|
||
public string? Appid { get; set; }
|
||
|
||
[JsonPropertyName("c_appid")]
|
||
public string? c_appid { get; set; }
|
||
/// <summary>
|
||
/// 企微应用
|
||
/// </summary>
|
||
[JsonPropertyName("app_name")]
|
||
public string? AppName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 应用用户账号
|
||
/// </summary>
|
||
[JsonPropertyName("appuserid")]
|
||
public string? Appuserid { get; set; }
|
||
|
||
[JsonPropertyName("c_appuserid")]
|
||
public string? c_appuserid { get; set; }
|
||
/// <summary>
|
||
/// 城市
|
||
/// </summary>
|
||
[JsonPropertyName("city")]
|
||
public string? City { get; set; }
|
||
/// <summary>
|
||
/// 好友关系 1:是,0:否
|
||
/// </summary>
|
||
[JsonPropertyName("is_wework")]
|
||
public int? isWework { 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>
|
||
/// 最后观看时间
|
||
/// </summary>
|
||
[JsonPropertyName("end_time")]
|
||
public string? EndTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户头像
|
||
/// </summary>
|
||
[JsonPropertyName("headimgurl")]
|
||
public string? Headimgurl { get; set; }
|
||
|
||
/// <summary>
|
||
/// IP地址
|
||
/// </summary>
|
||
[JsonPropertyName("ip")]
|
||
public string? Ip { get; set; }
|
||
|
||
/// <summary>
|
||
/// 直播ID
|
||
/// </summary>
|
||
[JsonPropertyName("living_id")]
|
||
public string? LivingId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户昵称
|
||
/// </summary>
|
||
[JsonPropertyName("nickname")]
|
||
public string? Nickname { 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 object SelfDeptid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 自身工号
|
||
/// </summary>
|
||
[JsonPropertyName("self_eid")]
|
||
public object SelfEid { get; set; }
|
||
|
||
/// <summary>
|
||
/// 开始观看时间
|
||
/// </summary>
|
||
[JsonPropertyName("start_time")]
|
||
public string? StartTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 课程名称
|
||
/// </summary>
|
||
[JsonPropertyName("title")]
|
||
public string? Title { get; set; }
|
||
|
||
/// <summary>
|
||
/// 观看时长
|
||
/// </summary>
|
||
[JsonPropertyName("total_watch_time")]
|
||
public decimal? TotalWatchTime { 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_days")]
|
||
public decimal? WatchDays { get; set; }
|
||
/// <summary>
|
||
/// 是否归属 1 是 0 否
|
||
/// </summary>
|
||
[JsonPropertyName("is_belong")]
|
||
public int? IsBelong { get; set; }
|
||
/// <summary>
|
||
/// 观看时长
|
||
/// </summary>
|
||
public string? TotalWatchTimeStr
|
||
{
|
||
get
|
||
{
|
||
return Utility.SecondToHour(double.Parse(TotalWatchTime.ToString()));
|
||
}
|
||
}
|
||
|
||
/// <summary>
|
||
/// 平均每次时长
|
||
/// </summary>
|
||
[JsonPropertyName("avg_watch_time")]
|
||
public decimal? AvgWatchTime { get; set; }
|
||
/// <summary>
|
||
/// 平均每次时长显示字符串
|
||
/// </summary>
|
||
public string? AvgWatchTimeStr
|
||
{
|
||
get
|
||
{
|
||
return Utility.SecondToHour(double.Parse(AvgWatchTime.ToString()));
|
||
}
|
||
}
|
||
|
||
/// <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; }
|
||
}
|
||
}
|