package com.sckw.order.model.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;

@Getter
@Setter
@ToString
@Schema(description = "买家撤销贸易订单参数")
public class CancelTradeOrderParam {

    @Length(max = 200, message = "撤销原因最多200字")
    @Schema(description = "撤销原因")
    private String remark;

    @Schema(description = "贸易合同")
    private Long tradeContractId;

    @Schema(description = "商品id")
    private Long goodsId;

    //冻结金额
    @Schema(description = "冻结金额")
    private BigDecimal freezeAmount;
}