package com.yc.ship.module.trade.api.dto;

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

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

@Schema(description = "订单转交请求vo")
@Data
@Accessors(chain = true)
public class TradeTransferSpecDTO {

    @Schema(description = "规格", example = "")
    @NotNull(message = "规格不能为空")
    private String specType;

    @Schema(description = "规格单价", example = "")
    @NotNull(message = "规格单价不能为空")
    private BigDecimal price;

}
