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