| | |
| | | package com.oying.modules.pc.product.view; |
| | | |
| | | import cn.hutool.core.collection.CollectionUtil; |
| | | import cn.hutool.core.collection.ListUtil; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.math.BigDecimal; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | |
| | | @ApiModelProperty(value = "店铺ID") |
| | | private Long storeId; |
| | | |
| | | @ApiModelProperty(value = "条形码") |
| | | private String barcode; |
| | | |
| | | @ApiModelProperty(value = "商品名称") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "商品标题") |
| | | private String title; |
| | | |
| | | @ApiModelProperty(value = "一级分类ID") |
| | | private Long categoryId; |
| | | |
| | | @ApiModelProperty(value = "二级分类ID") |
| | | private Long secondCategoryId; |
| | | |
| | | @ApiModelProperty(value = "状态") |
| | | private Integer status; |
| | |
| | | @ApiModelProperty(value = "销售价格") |
| | | private BigDecimal price; |
| | | |
| | | @ApiModelProperty(value = "库存数量") |
| | | private Integer stockQuantity; |
| | | |
| | | @ApiModelProperty(value = "起售数量") |
| | | private Integer minPurchaseQuantity; |
| | | |
| | | @ApiModelProperty(value = "重量(单位:g)") |
| | | private Integer weight; |
| | | |
| | | @ApiModelProperty(value = "宽度(单位:厘米)") |
| | | private Integer width; |
| | | |
| | | @ApiModelProperty(value = "长度(单位:厘米)") |
| | | private Integer length; |
| | | |
| | | @ApiModelProperty(value = "高度(单位:厘米)") |
| | | private Integer height; |
| | | |
| | | @ApiModelProperty(value = "是否支持退货") |
| | | private Integer returns; |
| | | |
| | | @ApiModelProperty(value = "是否支持自提") |
| | | private Integer selfPickup; |
| | | |
| | | @ApiModelProperty(value = "版本号") |
| | | private Long version; |
| | | |
| | | @ApiModelProperty(value = "销量") |
| | | private Integer totalUnitsSold = 0; |
| | | |
| | | @ApiModelProperty(value = "月销售量") |
| | | private Integer monthlySales = 0; |
| | | private Integer monthlyUnitsSold = 0; |
| | | |
| | | private List<ProductImageCustomerView> images = new ArrayList<>(); |
| | | private List<ProductLabelCustomerView> labels = new ArrayList<>(); |