wangxinhui
昨天 526b70eecc5dac5aea91bfffbe0b98118f25827f
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
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_NodeTransition), "节点跳转表")]
    public class Dt_NodeTransition : BaseEntity
    {
        /// <summary>
        /// 跳转编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "跳转编号,主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// 起始节点编号
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "起始节点编号,外键")]
        public int FromNodeId { get; set; }
 
        /// <summary>
        /// 目标节点编号
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "目标节点编号,外键")]
        public int ToNodeId { get; set; }
 
        /// <summary>
        /// 跳转条件(如“同意则跳转到下一节点”,“拒绝则结束流程”等)
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "跳转条件(如“同意则跳转到下一节点”,“拒绝则结束流程”等)")]
        public string Condition { get; set; }
    }
}