package com.gameplatform.server.model.dto.account;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Schema(description = "重置密码请求")
public class ResetPasswordRequest {
    @Schema(description = "新密码", example = "NewPassword123!", minLength = 6, maxLength = 128)
    @NotBlank(message = "newPassword 不能为空")
    @Size(min = 6, max = 128, message = "newPassword 长度必须在 6-128 字符之间")
    private String newPassword;
    
    @Schema(description = "是否强制登出", example = "true", defaultValue = "true")
    private Boolean forceLogout = Boolean.TRUE;

    public String getNewPassword() { return newPassword; }
    public void setNewPassword(String newPassword) { this.newPassword = newPassword; }
    public Boolean getForceLogout() { return forceLogout; }
    public void setForceLogout(Boolean forceLogout) { this.forceLogout = forceLogout; }
}

