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