package com.chushang.inspection.project.query;

import com.chushang.common.mybatis.annotation.Condition;
import com.chushang.common.mybatis.page.CommonParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @auther: zhao
 * @date: 2024/6/20 9:59
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class InsConfigQuery extends CommonParam {

    @Size(max = 128, message = "名称或别名不能超过128字符")
    @Condition(name = "name,alias", type = Condition.ConditionType.or_like)
    private String blurry;

}
