package com.lesingle.edu.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

/**
 * 安全设置响应
 */
@Data
@Builder
@Schema(description = "安全设置响应")
public class SecuritySettingsResponse {

    @Schema(description = "密码最小长度")
    private Integer passwordMinLength;

    @Schema(description = "密码是否需要特殊字符")
    private Boolean passwordRequireSpecialChar;

    @Schema(description = "登录失败锁定次数")
    private Integer loginFailLockCount;

    @Schema(description = "会话超时时间（分钟）")
    private Integer sessionTimeout;

    @Schema(description = "启用双因素认证")
    private Boolean twoFactorEnabled;

}