ForwardRequestDto.java 782 Bytes
package com.huaheng.control.management.dto;

import java.util.Map;

import javax.validation.constraints.NotNull;

import com.huaheng.control.management.dto.enums.EquipmentStatusEnum;

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

@Data
@Schema(description = "转发请求对象")
public class ForwardRequestDto {

    @Schema(description = "请求方法")
    @NotNull()
    private String requestMethod;

    @Schema(description = "请求路径")
    @NotNull()
    private String requestUrl;

    @Schema(description = "请求服务")
    @NotNull()
    private String requestService;

    @Schema(description = "POST请求体")
    private Object requestBody;

    @Schema(description = "GET请求参数")
    private Map<String, String> queryParams;
}