package cc.mrbird.febs.mall.dto.clothes; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; import java.math.BigDecimal; import java.util.List; @Data @ApiModel(value = "ApiClothesOrderInfoDto", description = "参数") public class ApiClothesOrderInfoDto { @NotNull(message = "参数不能为空") @ApiModelProperty(value = "地址ID", example = "1") private Long addressId; @NotNull(message = "参数不能为空") @ApiModelProperty(value = "类型ID", example = "1") private Long typeId; @ApiModelProperty(value = "备注") private String remark; @ApiModelProperty(value = "快递费") private BigDecimal deliveryAmount; @ApiModelProperty(value = "会员优惠卷ID") private Long memberCouponId; @NotNull(message = "数量不能为空") @ApiModelProperty(value = "数量", example = "2") private Integer cnt; @ApiModelProperty(value = "商品明细") private List items; }