package com.skr.mdm.bean.qo.system;

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

import javax.validation.constraints.Max;

/**
 * @author nfq
 * @date 2023-03-13 14:40
 */
@Data
@ApiModel(value = "系统清理QO")
public class SystemCleanQO {

    @ApiModelProperty(value = "是否启用（0：未启用 1：已启用）")
    private Integer isEnabled;

    @Max(value = 1000, message = "最大不超过1000万")
    @ApiModelProperty(value = "单表数据量最大限制（单位：万）")
    private Integer maxLimit;

    @ApiModelProperty(value = "文件保留天数")
    private Integer fileRetentionDays;
}
