package com.ltgk.catches.domain.dto;

import com.ltgk.common.core.page.BasePage;
import com.ltgk.common.validation.groups.Update;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 水产品字典查询参数对象
 *
 * @author Qi ChengBin
 * @date 2025-01-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "水产品字典查询参数对象", description = "水产品字典查询参数对象")
public class QueryTpAquaticDictReq extends BasePage {

    @ApiParam(value = "水产品字典主键")
    @NotNull(message = "水产品字典主键", groups = {Update.class})
    private String id;

    @ApiParam(value = "关键字")
    private String keyWord;
}
