Sys_AuditRecord.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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.Entities.System
  7. {
  8. /// <summary>
  9. /// 审核记录表
  10. /// </summary>
  11. [SugarTable(tableName: "Sys_AuditRecord", tableDescription: "审核记录表")]
  12. public class Sys_AuditRecord : EntityBase
  13. {
  14. /// <summary>
  15. /// 流程ID
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "流程ID", IsNullable = true, ColumnDataType = "int")]
  18. public int FlowId { get; set; }
  19. /// <summary>
  20. /// 节点ID
  21. /// </summary>
  22. [SugarColumn(ColumnDescription = "节点ID", IsNullable = true, ColumnDataType = "int")]
  23. public int NodeId { get; set; }
  24. /// <summary>
  25. /// 节点名称
  26. /// </summary>
  27. [SugarColumn(ColumnDescription = "节点名称", IsNullable = true, ColumnDataType = "varchar(50)")]
  28. public string NodeName { get; set; }
  29. /// <summary>
  30. /// 审核人ID
  31. /// </summary>
  32. [SugarColumn(ColumnDescription = "审核人ID", IsNullable = true, ColumnDataType = "int")]
  33. public int AuditorId { get; set; }
  34. /// <summary>
  35. /// 审核人姓名
  36. /// </summary>
  37. [SugarColumn(ColumnDescription = "审核人姓名", IsNullable = true, ColumnDataType = "varchar(50)")]
  38. public string AuditorName { get; set; }
  39. /// <summary>
  40. /// 审核结果(0-待审核,1-通过,2-拒绝,3-无需处理)
  41. /// </summary>
  42. [SugarColumn(ColumnDescription = "审核结果(0-待审核,1-通过,2-拒绝,3-无需处理)", IsNullable = true, ColumnDataType = "int")]
  43. public int AuditResult { get; set; }
  44. /// <summary>
  45. /// 审核意见
  46. /// </summary>
  47. [SugarColumn(ColumnDescription = "审核意见", IsNullable = true, ColumnDataType = "varchar(200)")]
  48. public string AuditOpinion { get; set; }
  49. }
  50. }