using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Dtos.System { /// /// 消息列表 /// 请求dto /// public class MsgDto:DtoBase { /// /// 用户ID /// public int UserId { get; set; } } /// /// 消息类型 /// 请求dto /// public class MsgTypeDto : PortDtoBase { /// /// 用户ID /// public int UserId { get; set; } } public class PotsMessagePageListDto : DtoBase { /// /// 消息类型 /// 1020 团组操作通知 1021 任务操作通知 1022 系统公告 /// public int Type { get; set; } public int UserId { get; set; } /// /// 阅读状态 /// 1 全部(包含已读/未读) 2 未读 3 已读 /// public int ReadStatus { get; set; } } public class PotsMessageUnreadTotalCountDto { public int UserId { get; set; } } /// /// 消息详细信息 /// 请求dto /// public class MsgInfoDto : PortDtoBase { public int UserId { get; set; } /// /// 消息Id /// public int MsgId { get; set; } } /// /// 消息设置已读 /// 请求dto /// public class MsgSetReadDto : PortDtoBase { /// /// /// public int UserId { get; set; } /// /// MsgAnthId /// public int MsgId { get; set; } } /// /// 消息删除 /// 请求dto /// public class MsgDeleteDto : DtoBase { /// /// MsgId /// public int MsgId { get; set; } /// /// userId /// public int UserId { get; set; } } }