using JNPF.DependencyInjection; using JNPF.WorkFlow.Entitys.Model.Conifg; using JNPF.WorkFlow.Entitys.Model.Item; namespace JNPF.WorkFlow.Entitys.Model.Properties; [SuppressSniffer] public class ChildTaskProperties { /// /// 子流程标题. /// public string? title { get; set; } /// /// 子流程发起人(类型参考FlowTaskOperatorEnum类). /// public int initiateType { get; set; } /// /// 主管级别. /// public int managerLevel { get; set; } /// /// 主管级别. /// public int departmentLevel { get; set; } /// /// 自定义人员. /// public List? initiator { get; set; } /// /// 自定义岗位. /// public List? initiatePos { get; set; } /// /// 自定义角色. /// public List? initiateRole { get; set; } /// /// 指定发起部门(为空则是所有人). /// public List? initiateOrg { get; set; } = new List(); /// /// 指定发起分组. /// public List? initiateGroup { get; set; } = new List(); /// /// 子流程引擎. /// public string? flowId { get; set; } /// /// 继承父流程字段数据. /// public List? assignList { get; set; } /// /// 子流程节点下子流程任务id. /// public List childTaskId { get; set; } = new List(); /// /// 子流程数据. /// public string? formData { get; set; } /// /// 同步异步(异步:true). /// public bool isAsync { get; set; } /// /// 表单字段. /// public string? formField { get; set; } /// /// 指定复审审批节点. /// public string? nodeId { get; set; } /// /// 服务 请求路径. /// public string? getUserUrl { get; set; } /// /// 发起通知. /// public MsgConfig? launchMsgConfig { get; set; } /// /// // 表单字段审核方式的类型(1-用户 2-部门). /// public int formFieldType { get; set; } /// /// 异常处理规则 /// 1:超级管理员处理、2:指定人员处理、3:上一节点审批人指定处理人、4:默认审批通过、5:无法提交、6:流程发起人. /// public string errorRule { get; set; } = "1"; /// /// 异常处理人. /// public List? errorRuleUser { get; set; } = new List(); }