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; } 
 | 
    } 
 | 
} 
 |