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