You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
3.1 KiB

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