using JNPF.DependencyInjection; using JNPF.WorkFlow.Entitys.Model.Conifg; namespace JNPF.WorkFlow.Entitys.Model.Properties; [SuppressSniffer] public class StartProperties { /// /// 发起节点标题. /// public string? title { get; set; } /// /// 指定发起人(为空则是所有人). /// public List? initiator { get; set; } = new List(); /// /// 指定发起岗位(为空则是所有人). /// public List? initiatePos { get; set; } = new List(); /// /// 指定发起角色. /// public List? initiateRole { get; set; } = new List(); /// /// 指定发起部门(为空则是所有人). /// public List? initiateOrg { get; set; } = new List(); /// /// 指定发起分组. /// public List? initiateGroup { get; set; } = new List(); /// /// 指定抄送岗位. /// public List circulatePosition { get; set; } = new List(); /// /// 指定抄送人. /// public List circulateUser { get; set; } = new List(); /// /// 抄送角色. /// public List circulateRole { get; set; } = new List(); /// /// 指定抄送部门. /// public List circulateOrg { get; set; } = new List(); /// /// 指定抄送分组. /// public List circulateGroup { get; set; } = new List(); /// /// 表单权限. /// public List? formOperates { get; set; } /// /// 打印id. /// public List printId { get; set; } = new List(); /// /// 是否评论. /// public bool isComment { get; set; } /// /// 是否批量. /// public bool isBatchApproval { get; set; } /// /// 自定义抄送人. /// public bool isCustomCopy { get; set; } /// /// 是否有签名. /// public bool hasSign { get; set; } /// /// 是否有审批意见. /// public bool hasOpinion { get; set; } = true; /// /// 抄送附加条件,默认无附加条件. /// 1:无附加条件、2:同一部门、3:同一岗位、4:发起人上级、5:发起人下属、6:同一公司. /// public string extraCopyRule { get; set; } = "1"; /// /// 异常处理规则 /// 1:超级管理员处理、2:指定人员处理、3:上一节点审批人指定处理人、4:默认审批通过、5:无法提交. /// public string errorRule { get; set; } = "1"; /// /// 异常处理人. /// public List? errorRuleUser { get; set; } = new List(); /// /// 任务名类型 0:默认 1:自定义. /// public int titleType { get; set; } = 0; /// /// 任务名格式. /// public string titleContent { get; set; } /// /// 表单id. /// public string formId { get; set; } #region 按钮 /// /// 撤回按钮. /// public string? revokeBtnText { get; set; } = "撤 回"; /// /// 是否撤回. /// public bool hasRevokeBtn { get; set; } = true; /// /// 提交按钮. /// public string? submitBtnText { get; set; } = "提 交"; /// /// 是否提交. /// public bool hasSubmitBtn { get; set; } = true; /// /// 保存按钮. /// public string? saveBtnText { get; set; } = "暂 存"; /// /// 是否保存. /// public bool hasSaveBtn { get; set; } = true; /// /// 催办按钮. /// public string? pressBtnText { get; set; } = "催 办"; /// /// 是否催办. /// public bool hasPressBtn { get; set; } = true; /// /// 打印按钮. /// public string? printBtnText { get; set; } = "打 印"; /// /// 是否打印. /// public bool hasPrintBtn { get; set; } = true; #endregion #region 节点事件 /// /// 流程发起事件. /// public FuncConfig? initFuncConfig { get; set; } /// /// 流程结束事件. /// public FuncConfig? endFuncConfig { get; set; } /// /// 流程撤回事件. /// public FuncConfig? flowRecallFuncConfig { get; set; } #endregion #region 消息 /// /// 审核. /// public MsgConfig? waitMsgConfig { get; set; } /// /// 结束. /// public MsgConfig? endMsgConfig { get; set; } /// /// 同意. /// public MsgConfig? approveMsgConfig { get; set; } /// /// 拒绝. /// public MsgConfig? rejectMsgConfig { get; set; } /// /// 抄送. /// public MsgConfig? copyMsgConfig { get; set; } /// /// 超时. /// public MsgConfig? overTimeMsgConfig { get; set; } /// /// 提醒. /// public MsgConfig? noticeMsgConfig { 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 }