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 
 | 
{ 
 | 
    /// <summary> 
 | 
    /// 审批节点表 
 | 
    /// </summary> 
 | 
    [SugarTable(nameof(Dt_ApprovalNode), "审批节点表")] 
 | 
    public class Dt_ApprovalNode : BaseEntity 
 | 
    { 
 | 
        /// <summary> 
 | 
        /// 主键 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] 
 | 
        public int Id { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 审批流程编号 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "审批流程编号,外键")] 
 | 
        public int FlowId { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 审批节点名称 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "审批节点名称")] 
 | 
        public string NodeName { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 节点类型(如单人审批、多人审批、会签等) 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "节点类型(如单人审批、多人审批、会签等)")] 
 | 
        public int NodeType { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 审批人角色(如部门经理、总经理等) 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "审批人角色(如部门经理、总经理等)")] 
 | 
        public int ApproverRole { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 节点顺序 
 | 
        /// </summary> 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "节点顺序")] 
 | 
        public int NodeSequence { get; set; } 
 | 
    } 
 | 
} 
 |