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