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

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

@Schema(description = "企业驳回用工登记请求")
public class WorkerRegistrationRejectRequest {

    @JsonProperty("fail_reason")
    @JsonAlias({"failReason", "reason"})
    @Schema(description = "驳回原因", example = "身份信息不符", requiredMode = Schema.RequiredMode.REQUIRED)
    private String failReason;

    public String getFailReason() {
        return failReason;
    }

    public void setFailReason(String failReason) {
        this.failReason = failReason;
    }
}
