using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// 审批节点表 /// [SugarTable(nameof(Dt_ApprovalNode), "审批节点表")] public class Dt_ApprovalNode : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 审批流程编号 /// [SugarColumn(IsNullable = false, ColumnDescription = "审批流程编号,外键")] public int FlowId { get; set; } /// /// 审批节点名称 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "审批节点名称")] public string NodeName { get; set; } /// /// 节点类型(如单人审批、多人审批、会签等) /// [SugarColumn(IsNullable = false, ColumnDescription = "节点类型(如单人审批、多人审批、会签等)")] public int NodeType { get; set; } /// /// 审批人角色(如部门经理、总经理等) /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "审批人角色(如部门经理、总经理等)")] public int ApproverRole { get; set; } /// /// 节点顺序 /// [SugarColumn(IsNullable = false, ColumnDescription = "节点顺序")] public int NodeSequence { get; set; } } }