package com.sckw.core.model.vo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author lfdc
 * @description
 * @date 2023-08-15 19:08:14
 */
@Data
public class PublicBaseList {
    /**
     * 数据id 逗号隔开
     */
    @NotBlank(message = "数据id不能为空")
    private String id;

//    private String type;

    @NotNull(message = "当前页不能为空")
    private Integer page;

    @NotNull(message = "没页条数不能为空")
    private Integer pageSize;

    /**
     * 备注
     */
    @Length(max = 200, message = "备注长度错误最大长度:{max}")
    private String remark;
}
