package cc.mrbird.febs.ai.req.productCategory;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* @author Administrator
|
*/
|
@Data
|
@ApiModel(value = "ApiProductCategoryPageDto", description = "参数")
|
public class ApiProductCategoryPageDto {
|
|
@NotNull(message = "页码不能为空")
|
@ApiModelProperty(value = "页码", example = "1")
|
private Integer pageNow;
|
|
@NotNull(message = "每页数量不能为空")
|
@ApiModelProperty(value = "每页数量", example = "10")
|
private Integer pageSize;
|
|
|
@NotBlank(message = "父分类不能为空")
|
@ApiModelProperty(value = "父分类ID", example = "123")
|
private String parentId;
|
|
}
|