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
{
///
/// 应用ID
///
[JsonPropertyName("app_id")]
public string? Appid { get; set; }
[JsonPropertyName("c_appid")]
public string? c_appid { get; set; }
///
/// 企微应用
///
[JsonPropertyName("app_name")]
public string? AppName { get; set; }
///
/// 应用用户账号
///
[JsonPropertyName("appuserid")]
public string? Appuserid { get; set; }
[JsonPropertyName("c_appuserid")]
public string? c_appuserid { get; set; }
///
/// 城市
///
[JsonPropertyName("city")]
public string? City { get; set; }
///
/// 好友关系 1:是,0:否
///
[JsonPropertyName("is_wework")]
public int? isWework { get; set; }
///
/// 国家
///
[JsonPropertyName("country")]
public string? Country { get; set; }
///
/// 用户主账号
///
[JsonPropertyName("customerid")]
public long? Customerid { get; set; }
///
/// 部门名称
///
[JsonPropertyName("dept_name")]
public string? DeptName { get; set; }
///
/// 员工部门ID
///
[JsonPropertyName("deptid")]
public long? Deptid { get; set; }
///
/// 员工工号
///
[JsonPropertyName("eid")]
public long? Eid { get; set; }
///
/// 员工名称
///
[JsonPropertyName("employee_name")]
public string? EmployeeName { get; set; }
///
/// 最后观看时间
///
[JsonPropertyName("end_time")]
public string? EndTime { get; set; }
///
/// 用户头像
///
[JsonPropertyName("headimgurl")]
public string? Headimgurl { get; set; }
///
/// IP地址
///
[JsonPropertyName("ip")]
public string? Ip { get; set; }
///
/// 直播ID
///
[JsonPropertyName("living_id")]
public string? LivingId { get; set; }
///
/// 用户昵称
///
[JsonPropertyName("nickname")]
public string? Nickname { get; set; }
///
/// 身份
///
[JsonPropertyName("province")]
public string? Province { get; set; }
///
/// 客户ID
///
[JsonPropertyName("resid")]
public string? Resid { get; set; }
///
/// 客户ID
///
[JsonPropertyName("umid")]
public string? Umid { get; set; }
///
/// 课程ID
///
[JsonPropertyName("scheduleid")]
public long Scheduleid { get; set; }
///
/// 自身部门ID
///
[JsonPropertyName("self_deptid")]
public object SelfDeptid { get; set; }
///
/// 自身工号
///
[JsonPropertyName("self_eid")]
public object SelfEid { get; set; }
///
/// 开始观看时间
///
[JsonPropertyName("start_time")]
public string? StartTime { get; set; }
///
/// 课程名称
///
[JsonPropertyName("title")]
public string? Title { get; set; }
///
/// 观看时长
///
[JsonPropertyName("total_watch_time")]
public decimal? TotalWatchTime { get; set; }
///
/// 更新时间
///
[JsonPropertyName("update_time")]
public string? UpdateTime { get; set; }
///
/// 用户类型,0:员工,1:客户
///
[JsonPropertyName("user_type")]
public long UserType { get; set; }
///
/// 观看天数
///
[JsonPropertyName("watch_days")]
public decimal? WatchDays { get; set; }
///
/// 是否归属 1 是 0 否
///
[JsonPropertyName("is_belong")]
public int? IsBelong { get; set; }
///
/// 观看时长
///
public string? TotalWatchTimeStr
{
get
{
return Utility.SecondToHour(double.Parse(TotalWatchTime.ToString()));
}
}
///
/// 平均每次时长
///
[JsonPropertyName("avg_watch_time")]
public decimal? AvgWatchTime { get; set; }
///
/// 平均每次时长显示字符串
///
public string? AvgWatchTimeStr
{
get
{
return Utility.SecondToHour(double.Parse(AvgWatchTime.ToString()));
}
}
///
/// 组别id
///
[JsonPropertyName("groupid")]
public decimal? Groupid { get; set; }
///
/// 组别
///
[JsonPropertyName("group_name")]
public string? GroupName { get; set; }
///
/// 进线时间
///
[JsonPropertyName("create_time")]
public string? CreateTime { get; set; }
///
/// 企微客服id
///
[JsonPropertyName("userid")]
public string? Userid { get; set; }
[JsonPropertyName("inviter_eid")]
public int? InviterEid { get; set; }
[JsonPropertyName("username")]
public string? Username { get; set; }
}
}