|
|
|
|
using System;
|
|
|
|
|
using GDZZ.Core;
|
|
|
|
|
|
|
|
|
|
namespace GDZZ.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 聊天历史任务列表输出参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class LiveHistoryContactsDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string displayName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 头像
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string avatar { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string type { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string index { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 消息条数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string unread { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime lastSendTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后消息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lastContent { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 历史聊天列表输出参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class LiveHistoryLists
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 联系人ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DisplayName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 头像
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Avatar { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 消息类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 索引
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Index { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 未读消息数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Unread { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最新消息时间戳
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long LastSendTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最新消息内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LastContent { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///最新消息时间格式
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
public string LastSendTimeData { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 聊天记录输出参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class LiveMessageList
|
|
|
|
|
{
|
|
|
|
|
public string ID { get; set; }
|
|
|
|
|
public string Status { get; set; }
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
public DateTime SendTime { get; set; }
|
|
|
|
|
public string Content { get; set; }
|
|
|
|
|
public long ToContactId { get; set; }
|
|
|
|
|
|
|
|
|
|
public int FileSize { get; set; }
|
|
|
|
|
|
|
|
|
|
public string FileName { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|