12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.Entities.System
- {
- /// <summary>
- /// 审核模板节点表
- /// </summary>
- [SugarTable(tableName: "Sys_AuditTemplateNode", tableDescription: " 审核模板节点表")]
- public class Sys_AuditTemplateNode : EntityBase
- {
- /// <summary>
- /// 模板ID
- /// </summary>
- [SugarColumn(ColumnDescription = "模板ID", IsNullable = true, ColumnDataType = "int")]
- public int TemplateId { get; set; }
- /// <summary>
- /// 节点名称
- /// </summary>
- [SugarColumn(ColumnDescription = "节点名称", IsNullable = true, ColumnDataType = "varchar(100)")]
- public string? NodeName { get; set; }
- /// <summary>
- /// 节点顺序
- /// </summary>
- [SugarColumn(ColumnDescription = "节点顺序", IsNullable = true, ColumnDataType = "int")]
- public int NodeOrder { get; set; } = 0;
- /// <summary>
- /// 审批类型(1-会签:必须所有审核人通过,2-或签:只要有一个审核人通过,整个节点就通过)
- /// </summary>
- [SugarColumn(ColumnDescription = "审批类型(1-会签,2-或签)", IsNullable = true, ColumnDataType = "int")]
- public int ApproveType { get; set; } = 0;
- /// <summary>
- /// 是否必审
- /// </summary>
- [SugarColumn(ColumnDescription = "是否必审", IsNullable = true, ColumnDataType = "bit")]
- public bool IsRequired { get; set; }
- }
- }
|