package com.zt.plat.module.contractorder.controller.admin.purchaseorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

@Data
@Schema(description = "上下级订单 请求 VO")
@Validated
public class DownOrUpOrderReqVO {
    @Schema(description = "订单id")
    private Long orderId;
    @Schema(description = "订单类型")
    @NotEmpty(message = "订单类型不能为空(上游  up ,下游 down)")
    private String orderType;
    @Schema(description = "订单号")
    private String orderNo;
}
