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