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

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "RSA 公钥响应")
public class PasswordPublicKeyResponse {

    @Schema(description = "PEM 格式 RSA 公钥，前端用于加密密码后再提交", example = "-----BEGIN PUBLIC KEY-----\\nMIIBIjANBg...")
    private String publicKey;

    public PasswordPublicKeyResponse() {
    }

    public PasswordPublicKeyResponse(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }
}
