package com.huimv.employment.service.draft.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "小程序确认用工方案响应")
public class DraftConfirmResponse {

    @Schema(description = "接口处理结果", example = "success")
    private String status;

    @JsonProperty("draft_status")
    @Schema(description = "草稿状态，确认成功后为 confirmed", example = "confirmed")
    private String draftStatus;

    @JsonProperty("order_id")
    @Schema(description = "生成的订单编号", example = "ord_123")
    private String orderId;

    @JsonProperty("draft_id")
    @Schema(description = "草稿 ID")
    private Long draftId;

    @JsonProperty("selected_scheme_code")
    @Schema(description = "确认的方案编码", example = "SCHEME_A")
    private String selectedSchemeCode;

    @JsonProperty("batch_id")
    @Schema(description = "登记批次业务编号", example = "bat_1")
    private String batchId;

    @JsonProperty("registration_url")
    @Schema(description = "临时工登记页 path", example = "pages/worker/register?token=abc")
    private String registrationUrl;

    @JsonProperty("qr_code_url")
    @Schema(description = "小程序码图片 URL（fe_registration_batch.qr_code_url）")
    private String qrCodeUrl;

    @JsonProperty("qr_token")
    @Schema(description = "扫码登记 token（写入小程序码 scene）")
    private String qrToken;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDraftStatus() {
        return draftStatus;
    }

    public void setDraftStatus(String draftStatus) {
        this.draftStatus = draftStatus;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getDraftId() {
        return draftId;
    }

    public void setDraftId(Long draftId) {
        this.draftId = draftId;
    }

    public String getSelectedSchemeCode() {
        return selectedSchemeCode;
    }

    public void setSelectedSchemeCode(String selectedSchemeCode) {
        this.selectedSchemeCode = selectedSchemeCode;
    }

    public String getBatchId() {
        return batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    public String getRegistrationUrl() {
        return registrationUrl;
    }

    public void setRegistrationUrl(String registrationUrl) {
        this.registrationUrl = registrationUrl;
    }

    public String getQrCodeUrl() {
        return qrCodeUrl;
    }

    public void setQrCodeUrl(String qrCodeUrl) {
        this.qrCodeUrl = qrCodeUrl;
    }

    public String getQrToken() {
        return qrToken;
    }

    public void setQrToken(String qrToken) {
        this.qrToken = qrToken;
    }
}
