package com.xzx.gc.shop.vo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; @Data @ApiModel(value = "XcxGoodsListVo", description = "小程序商品列表返回参数类") public class XcxGoodsListVo { @ApiModelProperty(value = "商品ID") private Long id; @ApiModelProperty(value = "商品名称") private String name; @ApiModelProperty(value = "图片") private String thumb; @ApiModelProperty(value = "现价") private String presentPrice; @ApiModelProperty(value = "原价") private String originalPrice; @ApiModelProperty(value = "销量") private Integer quantity; @ApiModelProperty(value = "库存") private Integer stock; @ApiModelProperty(value = "限购数量") private Integer quotaTime; @ApiModelProperty(value = "剩余限购数量") private Integer avaQuotaTime; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private Date qgStartTime; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private Date qgEndTime; @ApiModelProperty(value = "是否抢购 1-是 2-否") private Integer isQg; }