using GDZZ.Core; using System; using System.ComponentModel.DataAnnotations; namespace GDZZ.Application { /// /// 聊天历史任务列表输入参数 /// public class LiveHistoryContactsInput : PageInputBase { } public class AddLiveHistoryContactsInput : LiveHistoryContactsInput { /// /// 名称 /// 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 DeleteLiveHistoryContactsInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class UpdateLiveHistoryContactsInput : LiveHistoryContactsInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } public class QueryeLiveHistoryContactsInput : DeleteLiveHistoryContactsInput { } public class AddLiveMessageInput { /// /// 租户Id /// public long TenantId { get; set; } /// /// 消息 /// public string Content { get; set; } /// /// 对方信息 /// public long OtherUserID { get; set; } /// /// 消息类型 /// public string Type { get; set; } /// /// 状态 /// public string Status { get; set; } /// /// 发送时间 /// public DateTime SendTime { get; set; } /// /// 文件大小 /// public string FileSize { get; set; } /// /// 文件名称 /// public string FileName { get; set; } } }