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

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 = "请求体")
    @NotNull()
    private Object requestBody;
}