| | |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @ApiModel(value = "AddMallGoodsDto", description = "参数接收类") |
| | | public class AddMallGoodsDto { |
| | | |
| | | private String goodsNo; |
| | | |
| | | @NotBlank(message = "商品名称不能为空") |
| | | private String goodsName; |
| | | |
| | | private List<AddMallGoodsSkuDto> addMallGoodsSkuDtos; |
| | |
| | | private String thumb; |
| | | |
| | | private String thumbs; |
| | | |
| | | private String goodsParameter; |
| | | |
| | | private String goodsDetails; |
| | | |
| | |
| | | |
| | | private Integer goodsType; |
| | | |
| | | private Integer hasCarriage; |
| | | |
| | | private BigDecimal carriage; |
| | | //运费方式 (1:固定运费 2:运费模板) |
| | | private Integer carriageType; |
| | | //运费金额 |
| | | private BigDecimal carriageAmount; |
| | | //运费模板ID |
| | | private Long carriageRuleId; |
| | | //重量 |
| | | private BigDecimal goodsWeight; |
| | | //序号 |
| | | private Integer orderNumber; |
| | | private String levelOnePrice; |
| | | private String levelTwoPrice; |
| | | private String levelThreePrice; |
| | | |
| | | //优惠卷IDs |
| | | private List<Long> couponIds; |
| | | |
| | | } |