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

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

@Schema(description = "账密设置状态")
public class PasswordStatusResponse {

    @Schema(description = "是否已设置登录密码", example = "true")
    private boolean passwordSet;

    @Schema(description = "用户名脱敏，未设密时为 null", example = "zha***")
    private String usernameMask;

    public boolean isPasswordSet() {
        return passwordSet;
    }

    public void setPasswordSet(boolean passwordSet) {
        this.passwordSet = passwordSet;
    }

    public String getUsernameMask() {
        return usernameMask;
    }

    public void setUsernameMask(String usernameMask) {
        this.usernameMask = usernameMask;
    }
}
