package com.seer.teach.mall.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import jakarta.validation.constraints.NotNull;

@Getter
@Setter
@Schema(description = "提交支付订单请求参数")
@ToString
@NoArgsConstructor
public class OrderUpdateReq {

    @Schema(description = "订单Id")
    @NotNull(message = "订单Id不能为空")
    private Integer orderId;

    @Schema(description = "子订单Id，当修改子订单时必传，如修改子订单，删除子订单")
    private Integer childOrderId;

    @Schema(description = "收货地址id")
    private Integer addressId;
}
