package com.zhongshu.card.client.model.setting;

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

/**
 * 登录注册 配置
 *
 * @author TRX
 * @date 2024/10/8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PlatFormLoginConfig {

    @Schema(description = "登录验证码开关")
    private Boolean isOpenVerCode = Boolean.FALSE;

    @Schema(description = "最大登录失败次数")
    private Integer maxLoginFail = 3;

    @Schema(description = "锁定登录时间")
    private Integer lockMinute = 20;

}
