using JNPF.DependencyInjection; using JNPF.WorkFlow.Entitys.Model.Conifg; using JNPF.WorkFlow.Entitys.Model.Item; namespace JNPF.WorkFlow.Entitys.Model.Properties; [SuppressSniffer] public class ApproversProperties { /// /// 标题. /// public string? title { get; set; } /// /// 审批类型(类型参考FlowTaskOperatorEnum类). /// public int assigneeType { get; set; } /// /// 进度. /// public string? progress { get; set; } /// /// 驳回类型(1:重新审批 2:从当前节点审批). /// public int? rejectType { get; set; } /// /// 驳回节点. /// public string? rejectStep { get; set; } /// /// 描述. /// public string? description { get; set; } /// /// 自定义抄送人. /// public bool isCustomCopy { get; set; } /// /// 发起人主管级别. /// public int managerLevel { get; set; } = 1; /// /// 发起人主管级别. /// public int departmentLevel { get; set; } = 1; /// /// 会签比例. /// public int? countersignRatio { get; set; } = 100; /// /// 审批类型(0:或签 1:会签) . /// public int? counterSign { get; set; } = 0; /// /// 表单字段. /// public string? formField { get; set; } /// /// 指定复审审批节点. /// public string? nodeId { get; set; } /// /// 服务 请求路径. /// public string? getUserUrl { get; set; } /// /// 是否有签名. /// public bool hasSign { get; set; } /// /// 是否有审批意见. /// public bool hasOpinion { get; set; } = true; /// /// 是否可以加签. /// public bool hasFreeApprover { get; set; } /// /// 打印id. /// public List printId { get; set; } = new List(); /// /// 表单字段审核方式的类型(1-用户 2-部门). /// public int formFieldType { get; set; } /// /// 是否条件分支. /// public bool isBranchFlow { get; set; } /// /// 开启自动同意. /// public bool hasAgreeRule { get; set; } /// /// 自动同意规则,默认不启用. /// 1:不启用、2:审批人为发起人、3:审批人与上一审批节点处理人相同、4:审批人审批过. /// public List agreeRules { get; set; } = new List(); /// /// 附加条件,默认无附加条件. /// 1:无附加条件、2:同一部门、3:同一岗位、4:发起人上级、5:发起人下属、6:同一公司. /// public string extraRule { get; set; } = "1"; /// /// 抄送附加条件,默认无附加条件. /// 1:无附加条件、2:同一部门、3:同一岗位、4:发起人上级、5:发起人下属、6:同一公司. /// public string extraCopyRule { get; set; } = "1"; /// /// 表单权限数据. /// public List? formOperates { get; set; } /// /// 定时器到时时间. /// public List timerList { get; set; } = new List(); /// /// 表单id. /// public string formId { get; set; } /// /// 继承父流程字段数据. /// public List? assignList { get; set; } /// /// 是否抄送发起人. /// public bool isInitiatorCopy { get; set; } #region 人员 /// /// 指定审批人. /// public List approvers { get; set; } = new List(); /// /// 指定审批岗位. /// public List approverPos { get; set; } = new List(); /// /// 指定抄送岗位. /// public List circulatePosition { get; set; } = new List(); /// /// 指定抄送人. /// public List circulateUser { get; set; } = new List(); /// /// 指定审批角色. /// public List approverRole { get; set; } = new List(); /// /// 抄送角色. /// public List circulateRole { get; set; } = new List(); /// /// 指定审批部门. /// public List approverOrg { get; set; } = new List(); /// /// 指定抄送部门. /// public List circulateOrg { get; set; } = new List(); /// /// 指定审批分组. /// public List approverGroup { get; set; } = new List(); /// /// 指定抄送分组. /// public List circulateGroup { get; set; } = new List(); #endregion #region 消息 /// /// 审核通过. /// public MsgConfig? approveMsgConfig { get; set; } = new MsgConfig(); /// /// 审核驳回. /// public MsgConfig? rejectMsgConfig { get; set; } = new MsgConfig(); /// /// 审核抄送. /// public MsgConfig? copyMsgConfig { get; set; } = new MsgConfig(); /// /// 审核超时. /// public MsgConfig? overTimeMsgConfig { get; set; } = new MsgConfig(); /// /// 审核提醒. /// public MsgConfig? noticeMsgConfig { get; set; } = new MsgConfig(); #endregion #region 节点事件 /// /// 审核通过事件. /// public FuncConfig? approveFuncConfig { get; set; } = new FuncConfig(); /// /// 审核驳回事件. /// public FuncConfig? rejectFuncConfig { get; set; } = new FuncConfig(); /// /// 审核撤回事件. /// public FuncConfig? recallFuncConfig { get; set; } = new FuncConfig(); /// /// 审核超时事件. /// public FuncConfig? overTimeFuncConfig { get; set; } = new FuncConfig(); /// /// 审核提醒事件. /// public FuncConfig? noticeFuncConfig { get; set; } = new FuncConfig(); #endregion #region 按钮 /// /// 是否保存. /// public bool hasSaveBtn { get; set; } /// /// 保存按钮. /// public string? saveBtnText { get; set; } = "暂 存"; /// /// 是否打印. /// public bool hasPrintBtn { get; set; } = false; /// /// 打印. /// public string? printBtnText { get; set; } = "打 印"; /// /// 是否通过. /// public bool hasAuditBtn { get; set; } = true; /// /// 通过按钮. /// public string? auditBtnText { get; set; } = "通 过"; /// /// 是否拒绝. /// public bool hasRejectBtn { get; set; } = true; /// /// 拒绝按钮. /// public string? rejectBtnText { get; set; } = "退 回"; /// /// 是否撤回. /// public bool hasRevokeBtn { get; set; } = true; /// /// 撤回按钮. /// public string? revokeBtnText { get; set; } = "撤 回"; /// /// 是否转办. /// public bool hasTransferBtn { get; set; } = true; /// /// 转办按钮. /// public string? transferBtnText { get; set; } = "转 办"; /// /// 是否加签. /// public bool hasFreeApproverBtn { get; set; } = true; /// /// 加签按钮. /// public string? hasFreeApproverBtnText { get; set; } = "加 签"; #endregion #region 超时 /// /// 限时. /// public TimeOutConfig? timeLimitConfig { get; set; } = new TimeOutConfig(); /// /// 超时. /// public TimeOutConfig? overTimeConfig { get; set; } = new TimeOutConfig(); /// /// 提醒. /// public TimeOutConfig? noticeConfig { get; set; } = new TimeOutConfig(); #endregion }