Sys_AuditRecord.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 = "datetime")]
  48. public DateTime AuditTime { get; set; }
  49. /// <summary>
  50. /// 审核意见
  51. /// </summary>
  52. [SugarColumn(ColumnDescription = "审核意见", IsNullable = true, ColumnDataType = "varchar(200)")]
  53. public string AuditOpinion { get; set; }
  54. }
  55. }