|
@@ -92,6 +92,81 @@ namespace Hotline.Share.Dtos.FlowEngine.Workflow
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
|
|
+ #region Definition
|
|
|
|
+
|
|
|
|
+ public string Name { get; set; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 模板内唯一
|
|
|
|
+ /// </summary>
|
|
|
|
+ public string Code { get; set; }
|
|
|
|
+
|
|
|
|
+ public EStepType StepType { get; init; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 节点业务类型
|
|
|
|
+ /// </summary>
|
|
|
|
+ public EBusinessType BusinessType { get; set; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 办理人类型
|
|
|
|
+ /// </summary>
|
|
|
|
+ public EHandlerType HandlerType { get; set; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 是否有否决按钮
|
|
|
|
+ /// </summary>
|
|
|
|
+ public bool CanReject { get; set; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 执行模式(自动与否)
|
|
|
|
+ /// 只有普通节点支持自动,会签、动态节点均不支持自动
|
|
|
|
+ /// </summary>
|
|
|
|
+ public EExecuteMode ExecuteMode { get; set; }
|
|
|
|
+
|
|
|
|
+ #region 会签相关配置
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 是否支持发起会签(即使支持发起,当下一节点为汇总或结束节点时亦不可发起)
|
|
|
|
+ /// </summary>
|
|
|
|
+ public bool CanStartCountersign { get; set; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 会签策略
|
|
|
|
+ /// </summary>
|
|
|
|
+ public EDynamicPolicy? CountersignPolicy { get; set; }
|
|
|
|
+
|
|
|
|
+ #endregion
|
|
|
|
+
|
|
|
|
+ #region 依据配置生成节点的方式
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 实例化模式
|
|
|
|
+ /// </summary>
|
|
|
|
+ public EInstanceMode InstanceMode { get; set; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 动态实例化策略(多次模式才有)
|
|
|
|
+ /// </summary>
|
|
|
|
+ public EDynamicPolicy? InstancePolicy { get; set; }
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 到此标记终止动态实例化(多次模式才有)
|
|
|
|
+ /// <remarks>
|
|
|
|
+ /// 按直属部门重复既保存orgLevel:int
|
|
|
|
+ /// </remarks>
|
|
|
|
+ /// </summary>
|
|
|
|
+ public string? TerminalDynamicMark { get; set; }
|
|
|
|
+
|
|
|
|
+ #endregion
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 标签
|
|
|
|
+ /// </summary>
|
|
|
|
+ public string? Tag { get; set; }
|
|
|
|
+
|
|
|
|
+ #endregion
|
|
|
|
+
|
|
#region 办理参数
|
|
#region 办理参数
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|