|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.TaskPlat.Entity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 任务编排流程表
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("task_flow_config_new", "任务编排流程表")]
|
|
|
|
|
public class TaskFlowConfig : BaseModelV2<long>
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 流程名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "流程名称", IsNullable = true, Length = 64)]
|
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属任务类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "所属任务类型", IsNullable = true, Length = 255)]
|
|
|
|
|
public string? TaskType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否为主入口流程
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否为主入口流程", IsNullable = false, Length = 1)]
|
|
|
|
|
public bool IsMain { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 执行模块主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "执行模块主键", IsNullable = true)]
|
|
|
|
|
public long? ExecuteModuleId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属主入口流程主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "所属主入口流程主键", IsNullable = true)]
|
|
|
|
|
public long? MainConfigId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 父项流程主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "父项流程主键", IsNullable = true)]
|
|
|
|
|
public long? ParentConfigId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当执行过程中发生异常时是否继续执行下一个节点
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "当执行过程中发生异常时是否继续执行下一个节点", IsNullable = false, Length = 1)]
|
|
|
|
|
public bool IsExceptionContinue { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当无匹配的执行流程时是否作为默认的执行流程
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "当无匹配的执行流程时是否作为默认的执行流程", IsNullable = false, Length = 1)]
|
|
|
|
|
public bool IsUnMatchDefault { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当匹配到多项执行流程时是否作为默认的执行流程
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "当匹配到多项执行流程时是否作为默认的执行流程", IsNullable = false, Length = 1)]
|
|
|
|
|
public bool IsMoreMatchDefault { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|