
package cn.orionsec.ops.entity.vo.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "系统配置响应")
@SuppressWarnings("ALL")
public class SystemOptionVO {

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#ENABLE_AUTO_CLEAN_FILE
     */
    @ApiModelProperty(value = "是否启用自动清理")
    private Boolean autoCleanFile;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#FILE_CLEAN_THRESHOLD
     */
    @ApiModelProperty(value = "文件清理阈值")
    private Integer fileCleanThreshold;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#ALLOW_MULTIPLE_LOGIN
     */
    @ApiModelProperty(value = "允许多端登录")
    private Boolean allowMultipleLogin;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#LOGIN_FAILURE_LOCK
     */
    @ApiModelProperty(value = "是否启用登录失败锁定")
    private Boolean loginFailureLock;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#LOGIN_IP_BIND
     */
    @ApiModelProperty(value = "是否启用登录IP绑定")
    private Boolean loginIpBind;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#LOGIN_TOKEN_AUTO_RENEW
     */
    @ApiModelProperty(value = "是否启用登录IP绑定")
    private Boolean loginTokenAutoRenew;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#LOGIN_TOKEN_EXPIRE
     */
    @ApiModelProperty(value = "登录凭证有效期")
    private Integer loginTokenExpire;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#LOGIN_FAILURE_LOCK_THRESHOLD
     */
    @ApiModelProperty(value = "登录失败锁定阈值")
    private Integer loginFailureLockThreshold;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#LOGIN_TOKEN_AUTO_RENEW_THRESHOLD
     */
    @ApiModelProperty(value = "登录自动续签阈值")
    private Integer loginTokenAutoRenewThreshold;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#RESUME_ENABLE_SCHEDULER_TASK
     */
    @ApiModelProperty(value = "自动恢复启用的调度任务")
    private Boolean resumeEnableSchedulerTask;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#TERMINAL_ACTIVE_PUSH_HEARTBEAT
     */
    @ApiModelProperty(value = "终端后台主动推送心跳")
    private Boolean terminalActivePushHeartbeat;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#SFTP_UPLOAD_THRESHOLD
     */
    @ApiModelProperty(value = "SFTP 上传文件最大阈值 (MB)")
    private Integer sftpUploadThreshold;

    /**
     * @see cn.orionsec.ops.constant.system.SystemEnvAttr#STATISTICS_CACHE_EXPIRE
     */
    @ApiModelProperty(value = "统计缓存有效时间 (分)")
    private Integer statisticsCacheExpire;

}
