package com.yunzhupaas.visualdata.model.visual;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import java.util.Collections;
import java.util.Map;

/**
 *
 *
 * @author 云筑产品开发平台组
 * @version V3.5.0
 * @copyright 深圳市乐程软件有限公司
 * @date 2023年7月7日
 */
@Data
public class VisualProxyModel {

    @NotBlank
    @Schema(description ="路径")
    private String url;
    @NotBlank
    @Schema(description ="请求方式")
    private String method;
    @Schema(description ="headers")
    private Map<String, String> headers = Collections.emptyMap();
    @Schema(description ="data")
    private Map<String, Object> data = null;
    @Schema(description ="params")
    private Map<String, Object> params = Collections.emptyMap();
    @Schema(description ="每页条数")
    private int timeout = 3;

}

