| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonInclude; |
| | | import com.ruoyi.common.core.enums.GroupStatusEnum; |
| | | import com.ruoyi.common.core.enums.ListingStatusEnum; |
| | | import com.ruoyi.common.core.enums.StartStatusEnum; |
| | |
| | | @Data |
| | | public class GoodsGroupPurchaseInfoVO { |
| | | @ApiModelProperty(value = "团购商品id") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Long goodsSkuId; |
| | | |
| | | @ApiModelProperty(value = "商品名称") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String goodsSkuName; |
| | | @ApiModelProperty(value = "商品年份") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String years; |
| | | |
| | | @ApiModelProperty(value = "封面图") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String coverPic; |
| | | |
| | | @ApiModelProperty(value = "商品价格") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private BigDecimal price; |
| | | |
| | | |
| | | @ApiModelProperty(value = "分享标题") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String shareTitle; |
| | | |
| | | @ApiModelProperty(value = "分享图片") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String sharePic; |
| | | |
| | | @ApiModelProperty(value = "团购价格") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private BigDecimal groupPurchasePrice; |
| | | |
| | | @ApiModelProperty(value = "成团人数") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer groupSize; |
| | | |
| | | @ApiModelProperty(value = "限购数量") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer limitNumber; |
| | | |
| | | @ApiModelProperty(value = "当前人数") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer currentNumber; |
| | | |
| | | @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; |
| | | |
| | | @ApiModelProperty(value = "参团说明") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private String description; |
| | | |
| | | @ApiModelProperty(value = "开始状态 0=未开始 1=已开始 2=已结束 ") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private StartStatusEnum startStatus; |
| | | |
| | | @ApiModelProperty(value = "上架状态 0=已上架 1=已下架") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private ListingStatusEnum listingStatus; |
| | | |
| | | @ApiModelProperty(value = "成团状态 0=待成团 1=已成团 2=成团失败") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private GroupStatusEnum groupStatus; |
| | | |
| | | @ApiModelProperty(value = "是团购 1没有团购,2有团购") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer isGoodsGroupPurchase; |
| | | |
| | | } |