package cn.fateverse.query.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Clay
 * @date 2024/4/21 19:07
 */
@Data
public class MockParam {

    @NotNull(message = "id不能为空")
    private Long portalId;

    private String code;

    private Integer pageSize;

    private Integer pageNum;

    private List<Param> params;

    @Data
    public static class Param {

        private String key;

        private Object value;
    }
}
