package com.beagle.base.bean.vo;

import com.rtdb.enums.DataSort;
import com.rtdb.model.SearchCondition;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class BaseSearchParam {
    @NotNull(message = "搜索条件不能为空")
    private SearchCondition condition;
    @NotNull(message = "请求次数不能为空")
    private Integer count;
    @NotNull(message = "排序规则不能为空")
    private DataSort sort;
}
