package com.nbport.zgwl.contractlaunch.utils;

/**
 * 合同发起模块常量
 *
 * 这里把状态值集中放一起，方便你后续改状态文案或补真实流程。
 */
public final class ContractLaunchConstants {

    private ContractLaunchConstants() {
    }

    public static final String REQUEST_PREFIX = "/contract/launch";

    public static final String STATUS_DRAFT = "draft";
    public static final String STATUS_REVIEWING = "reviewing";
    public static final String STATUS_REJECTED = "rejected";
    public static final String STATUS_PENDING_SIGN = "pending_sign";
    public static final String STATUS_SIGNING = "signing";
    public static final String STATUS_PENDING_COLLECT = "pending_collect";
    public static final String STATUS_PENDING_ARCHIVE = "pending_archive";
    public static final String STATUS_COMPLETED = "completed";
    public static final String STATUS_TERMINATED = "terminated";

    public static final String APPROVE_STATUS_PENDING = "pending";
    public static final String APPROVE_STATUS_APPROVED = "approved";
    public static final String APPROVE_STATUS_REJECTED = "rejected";

    public static final String FILE_CATEGORY_BODY = "body";
    public static final String FILE_CATEGORY_OTHER = "other";
    public static final String FILE_CATEGORY_GIST = "gist";
    public static final String FILE_CATEGORY_AUTH = "auth";
    public static final String FILE_CATEGORY_SIGNED = "signed";
    public static final String FILE_CATEGORY_ARCHIVE = "archive";

    public static final String ACTION_SAVE = "save";
    public static final String ACTION_SUBMIT = "submit";
    public static final String ACTION_APPROVE = "approve";
    public static final String ACTION_REJECT = "reject";
    public static final String ACTION_SEAL_START = "seal_start";
    public static final String ACTION_SEAL_FINISH = "seal_finish";
    public static final String ACTION_COLLECT = "collect";
    public static final String ACTION_ARCHIVE = "archive";
    public static final String ACTION_DELETE = "delete";
    public static final String ACTION_COPY = "copy";
    public static final String ACTION_TERMINATE = "terminate";
    public static final String ACTION_CHANGE = "change";

    // ==================== 签章平台操作日志 ====================
    /** 创建签署流程（签章平台合同创建） */
    public static final String ACTION_SEAL_CREATE = "seal_create";
    /** 签章平台签署确认（托管签署） */
    public static final String ACTION_SEAL_SIGN = "seal_sign";
    /** 签章平台签署完成（完结签署流程） */
    public static final String ACTION_SEAL_COMPLETE = "seal_complete";
    /** 签章平台取消签署 */
    public static final String ACTION_SEAL_CANCEL = "seal_cancel";
    /** 签章平台时间戳签章 */
    public static final String ACTION_SEAL_TIMESTAMP = "seal_timestamp";
    /** 签章平台批注签章 */
    public static final String ACTION_SEAL_COMMENT = "seal_comment";
    /** 签章平台回调通知 */
    public static final String ACTION_SEAL_CALLBACK = "seal_callback";
    /** 线下签署文件上传 */
    public static final String ACTION_SEAL_UPLOAD = "seal_upload";
    /** 签章平台二维码生成（等待扫码确认） */
    public static final String ACTION_SEAL_QRCODE = "seal_qrcode";

    public static final String ACTION_STATUS_SUCCESS = "success";
    public static final String ACTION_STATUS_FAILED = "failed";
    public static final String ACTION_STATUS_PENDING = "pending";

    public static final String IS_DELETED_NO = "N";
    public static final String IS_DELETED_YES = "Y";
}
