TableOperationRecordDto.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using OASystem.Domain.Dtos.System;
  2. using OASystem.Domain.Enums;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace OASystem.Domain.Dtos.CRM
  9. {
  10. public class TableOperationRecordDto
  11. {
  12. }
  13. /// <summary>
  14. /// 表操作记录
  15. /// Add Dto
  16. /// </summary>
  17. public class TableOperationRecordAddDto
  18. {
  19. /// <summary>
  20. /// 用户Id
  21. /// </summary>
  22. public int UserId { get; set; }
  23. /// <summary>
  24. /// 表名
  25. /// "Crm_NewClientData" 客户资料表
  26. /// </summary>
  27. public string? TableName { get; set; }
  28. /// <summary>
  29. /// 访问端口
  30. /// 1 WEb 2 安卓 3 苹果
  31. /// </summary>
  32. public int PortType { get; set; }
  33. /// <summary>
  34. /// 操作项目
  35. /// 0 未操作 1浏览列表 2 浏览详情 3 添加 4 修改 5 删除 6 审核 7 上传 8 下载
  36. /// </summary>
  37. public OperationEnum OperationItem { get; set; } = OperationEnum.NoOperation;
  38. /// <summary>
  39. /// 数据Id
  40. /// </summary>
  41. public int DataId { get; set; } = 0;
  42. }
  43. public class TableOperationRecordPageDto
  44. {
  45. public int PageIndex { get; set; } = 1;
  46. public int PageSize { get; set; } = 10;
  47. /// <summary>
  48. /// 表名
  49. /// 资料操作表记录 'Crm_NewClientData'
  50. /// </summary>
  51. public string TableName { get; set; }
  52. }
  53. }