Crm_TableOperationRecord.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using OASystem.Domain.Enums;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Entities.Customer
  8. {
  9. /// <summary>
  10. /// 表操作记录
  11. /// </summary>
  12. [SugarTable("Crm_TableOperationRecord")]
  13. public class Crm_TableOperationRecord : EntityBase
  14. {
  15. /// <summary>
  16. /// 表名
  17. /// "Crm_NewClientData" 客户资料表
  18. /// </summary>
  19. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  20. public string? TableName { get; set; }
  21. /// <summary>
  22. /// 1 Web 2 安卓 3 苹果
  23. /// </summary>
  24. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  25. public int PortType { get; set; }
  26. /// <summary>
  27. /// 操作项目
  28. /// 0 未操作 1浏览列表 2 浏览详情 3 添加 4 修改 5 删除 6 审核 7 上传 8 下载
  29. /// </summary>
  30. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  31. public OperationEnum OperationItem { get; set; } = OperationEnum.NoOperation;
  32. /// <summary>
  33. /// 数据Id
  34. /// </summary>
  35. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  36. public int DataId { get; set; } = 0;
  37. }
  38. }