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

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

import javax.validation.constraints.NotBlank;

@Schema(description = "小程序确认用工方案请求")
public class DraftConfirmRequest {

    @NotBlank(message = "selected_scheme_code 不能为空")
    @JsonProperty("selected_scheme_code")
    @JsonAlias({"selected_plan_id", "selectedPlanId", "selectedSchemeCode"})
    @Schema(description = "选定的方案编码", example = "SCHEME_A", requiredMode = Schema.RequiredMode.REQUIRED)
    private String selectedSchemeCode;

    public String getSelectedSchemeCode() {
        return selectedSchemeCode;
    }

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