Sys_AuditTemplateNode.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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_AuditTemplateNode", tableDescription: " 审核模板节点表")]
  12. public class Sys_AuditTemplateNode : EntityBase
  13. {
  14. /// <summary>
  15. /// 模板ID
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "模板ID", IsNullable = true, ColumnDataType = "int")]
  18. public int TemplateId { get; set; }
  19. /// <summary>
  20. /// 节点名称
  21. /// </summary>
  22. [SugarColumn(ColumnDescription = "节点名称", IsNullable = true, ColumnDataType = "varchar(100)")]
  23. public string? NodeName { get; set; }
  24. /// <summary>
  25. /// 节点顺序
  26. /// </summary>
  27. [SugarColumn(ColumnDescription = "节点顺序", IsNullable = true, ColumnDataType = "int")]
  28. public int NodeOrder { get; set; } = 0;
  29. /// <summary>
  30. /// 审批类型(1-会签:必须所有审核人通过,2-或签:只要有一个审核人通过,整个节点就通过)
  31. /// </summary>
  32. [SugarColumn(ColumnDescription = "审批类型(1-会签,2-或签)", IsNullable = true, ColumnDataType = "int")]
  33. public int ApproveType { get; set; } = 0;
  34. /// <summary>
  35. /// 是否必审
  36. /// </summary>
  37. [SugarColumn(ColumnDescription = "是否必审", IsNullable = true, ColumnDataType = "bit")]
  38. public bool IsRequired { get; set; }
  39. }
  40. }