1
hutongqing
2024-12-18 70f22c9c06c7dfe2a2a83c0d2fcc79892dba7d8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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; }
    }
}