MsgDto.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Dtos.System
  7. {
  8. /// <summary>
  9. /// 消息列表
  10. /// 请求dto
  11. /// </summary>
  12. public class MsgDto:DtoBase
  13. {
  14. /// <summary>
  15. /// 用户ID
  16. /// </summary>
  17. public int UserId { get; set; }
  18. }
  19. /// <summary>
  20. /// 消息详细信息
  21. /// 请求dto
  22. /// </summary>
  23. public class MsgInfoDto : DtoBase
  24. {
  25. /// <summary>
  26. /// 消息Id
  27. /// </summary>
  28. public int MsgId { get; set; }
  29. }
  30. /// <summary>
  31. /// 消息设置已读
  32. /// 请求dto
  33. /// </summary>
  34. public class MsgSetReadDto : DtoBase
  35. {
  36. /// <summary>
  37. /// MsgAnthId
  38. /// </summary>
  39. public int MsgAnthId { get; set; }
  40. }
  41. /// <summary>
  42. /// 消息删除
  43. /// 请求dto
  44. /// </summary>
  45. public class MsgDeleteDto : DtoBase
  46. {
  47. /// <summary>
  48. /// MsgId
  49. /// </summary>
  50. public int MsgId { get; set; }
  51. /// <summary>
  52. /// userId
  53. /// </summary>
  54. public int UserId { get; set; }
  55. }
  56. }