package com.yc.ship.module.trade.controller.admin.order.vo.order;


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

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Schema(description = "旅行社交易改签 Request VO")
@Data
public class OtcTradeChangeOrderReqVO{

    @Schema(description = "主订单ID，通过此订单再新增订单（增加产品/数量,改签时传递）", example = "")
    @NotNull(message = "主订单ID不能为空")
    private Long mainOrderId;

    @Schema(description = "新订单ID", example = "")
    @NotNull(message = "新订单ID不能为空")
    private Long orderId;

    @Schema(description = "实际支付或退款金额")
    @NotNull(message = "实际支付或退款金额不能为空")
    private BigDecimal realPayAmount;

    @Schema(description = "0原路退回，1线下退款 ", example = "")
    private Integer refundBackType;

    @Schema(description = "如需支付时的支付参数 ", example = "")
    private PayOrderReqVO payOrderParams;
}
