| | |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.panzhihua.common.model.vos.community.convenient.ConvenientMerchantVO; |
| | | import com.panzhihua.common.validated.AddGroup; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | |
| | | private BigDecimal originalPrice; |
| | | |
| | | /** |
| | | * 商品现价 |
| | | * 包邮价 |
| | | */ |
| | | @ApiModelProperty("商品现价") |
| | | private BigDecimal price; |
| | | @ApiModelProperty("包邮价") |
| | | private BigDecimal freeShippingPrice; |
| | | /** |
| | | * 拼单价 |
| | | */ |
| | | @ApiModelProperty("拼单价") |
| | | private BigDecimal collatePrice; |
| | | |
| | | /** |
| | | * 商品单位 |
| | |
| | | * 配送方式(1.商家配送 2.快递物流) |
| | | */ |
| | | @ApiModelProperty("配送方式(1.商家配送 2.快递物流)") |
| | | private Integer deliveryType; |
| | | private String deliveryType; |
| | | |
| | | /** |
| | | * 商品规格列表 |
| | |
| | | private Integer orderNum; |
| | | |
| | | /** |
| | | * 浏览量 |
| | | */ |
| | | @ApiModelProperty("浏览量") |
| | | private Integer viewNum; |
| | | |
| | | |
| | | /** |
| | | * 评价数量 |
| | | */ |
| | | @ApiModelProperty("评价数量") |
| | | private Integer evaluateNum; |
| | | |
| | | /** |
| | | * 商品规格列表 |
| | | */ |
| | | @ApiModelProperty("评价列表,最新三条") |
| | | private List<ComShopFlowerEvaluateVO> shopFlowerEvaluateVOList; |
| | | |
| | | @ApiModelProperty("商品分类") |
| | | @NotEmpty(groups = {AddGroup.class}, message = "商品分类不能为空") |
| | | private List<Long> categoryIds; |
| | | |
| | | |
| | | @ApiModelProperty("商品描述") |
| | | private String goodsDescribe; |
| | | } |
| | | |
| | | |