You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.7 KiB
C#

using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.TaskPlat.Entity
{
/// <summary>
/// 任务编排流程表
///</summary>
4 months ago
[SugarTable("task_flow_config", "任务编排流程表")]
4 months ago
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; }
4 months ago
/// <summary>
/// 所属主入口流程主键
/// </summary>
[SugarColumn(ColumnDescription = "所属主入口流程主键", IsNullable = true)]
public long? MainConfigId { get; set; }
/// <summary>
/// 下一流程主键列表(使用,分隔)
/// </summary>
[SugarColumn(ColumnDescription = "下一流程主键", IsNullable = true, Length = 255)]
public string? NextConfigId { get; set; }
///// <summary>
///// 父项流程主键
///// </summary>
//[SugarColumn(ColumnDescription = "父项流程主键", IsNullable = true)]
//public long? ParentConfigId { get; set; }
/// <summary>
/// 当执行过程中发生异常时是否继续执行下一个节点
/// </summary>
[SugarColumn(ColumnDescription = "当执行过程中发生异常时是否继续执行下一个节点", IsNullable = false, Length = 1)]
4 months ago
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; }
}
}