package cn.axzo.workflow.common.constant;

/**
 * 暴露给业务变量名
 *
 * @author wangli
 * @since 2024/2/6 16:30
 */
public interface VariableConstants {

    //===============          消息推送时的变量集合中 key 的命名          =================
    String VAR_INITIATOR_USER_NAME = "initiatorUserName";
    String VAR_PROCESS_INSTANCE_NAME = "processInstanceName";
    String VAR_PROCESS_INSTANCE_ID = "processInstanceId";
    String VAR_BUSINESS_KEY = "businessKey";
    String VAR_PROCESS_START_TIME = "processStartTime";
    String VAR_PROCESS_END_TIME = "processEndTime";
    String VAR_PROCESS_TENANT_ID = "tenantId";
    String VAR_BUSINESS_NAME = "businessName";
    String VAR_TASK_ID = "taskId";
    String VAR_TASK_START_TIME = "taskStartTime";
    String VAR_TASK_USER_NAME = "taskUserName";
    String VAR_ACTIVITY_ID = "activityId";
    String VAR_ACTIVITY_NAME = "activityName";
    String VAR_PROCESS_RESULT = "processResult";
    String VAR_OPERATOR_TYPE = "operatorType";
    String VAR_USER_AGREE_SIGNATURE = "userAgreeSignature";


    //===============          打印时的变量集合中 key 的命名          =================
    String VAR_PREFIX = "业务变量";
    String PRINT_VAR_PROCESS_DEFINITION_KEY = "processDefinitionKey";
    String PRINT_VAR_PROCESS_DEFINITION_KEY_DESC = "业务名称";
    String PRINT_VAR_PROCESS_INSTANCE_ID = "processInstanceId";
    String PRINT_VAR_PROCESS_INSTANCE_ID_DESC = "审批编号";
    String PRINT_VAR_PROCESS_START_TIME = "startTime";
    String PRINT_VAR_PROCESS_START_TIME_DESC = "发起时间";
    String PRINT_VAR_PROCESS_END_TIME = "endTime";
    String PRINT_VAR_PROCESS_END_TIME_DESC = "审批结束时间";
    String PRINT_VAR_PROCESS_INITIATOR = "initiator";
    String PRINT_VAR_PROCESS_INITIATOR_DESC = "发起者";
    String PRINT_VAR_PROCESS_INITIATOR_NAME = "initiatorName";
    String PRINT_VAR_PROCESS_INITIATOR_NAME_DESC = "发起人姓名";
    String PRINT_VAR_PROCESS_INITIATOR_POSITION = "initiatorPosition";
    String PRINT_VAR_PROCESS_INITIATOR_POSITION_DESC = "发起人岗位";
    String PRINT_VAR_PROCESS_INITIATOR_PHONE = "initiatorPhone";
    String PRINT_VAR_PROCESS_INITIATOR_PHONE_DESC = "发起人联系方式";
    String PRINT_VAR_PROCESS_LOGS = "processLogs";
    String PRINT_VAR_PROCESS_LOGS_DESC = "审批日志";
    String PRINT_VAR_PROCESS_LOG_ACTIVITY_NAME = "activityName";
    String PRINT_VAR_PROCESS_LOG_ACTIVITY_NAME_DESC = "节点名称";
    String PRINT_VAR_PROCESS_LOG_APPROVER_NAME = "approverName";
    String PRINT_VAR_PROCESS_LOG_APPROVER_NAME_DESC = "审批人";
    String PRINT_VAR_PROCESS_LOG_UNIT = "unit";
    String PRINT_VAR_PROCESS_LOG_UNIT_DESC = "单位";
    String PRINT_VAR_PROCESS_LOG_POSITION = "position";
    String PRINT_VAR_PROCESS_LOG_POSITION_DESC = "岗位";
    String PRINT_VAR_PROCESS_LOG_ADVICE = "advice";
    String PRINT_VAR_PROCESS_LOG_ADVICE_DESC = "审批意见";
    String PRINT_VAR_PROCESS_LOG_OPERATION_TIME = "operationTime";
    String PRINT_VAR_PROCESS_LOG_OPERATION_TIME_DESC = "审批时间";
    String PRINT_VAR_PROCESS_LOG_SIGNATURE = "signature";
    String PRINT_VAR_PROCESS_LOG_SIGNATURE_DESC = "电子签名";
}
