| | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonInclude; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | |
| | | @Data |
| | | public class HomeGoodsSeckillVO { |
| | | @ApiModelProperty(value = "秒杀商品id") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | @TableId(value = "id", type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "商品id") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Long goodsSkuId; |
| | | |
| | | @ApiModelProperty(value = "商品名称") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String skuName; |
| | | |
| | | @ApiModelProperty(value = "商品年份") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String years; |
| | | |
| | | @ApiModelProperty(value = "商品价格") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private BigDecimal price; |
| | | |
| | | @ApiModelProperty(value = "秒杀价格") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private BigDecimal seckillPrice; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "已售数量") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer soldQuantity; |
| | | |
| | | @ApiModelProperty(value = "封面图") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String coverPic; |
| | | |
| | | @ApiModelProperty(value = "秒杀开始时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private LocalDateTime startTime; |
| | | |
| | | @ApiModelProperty(value = "秒杀结束时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private LocalDateTime endTime; |
| | | |
| | | |