| | |
| | | package com.ruoyi.system.api.domain.vo; |
| | | |
| | | 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.StartStatusEnum; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | public class WdGoodsGroupPurchaseVO { |
| | | |
| | | @ApiModelProperty(value = "团购商品id") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Long Id; |
| | | |
| | | @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 BigDecimal groupPurchasePrice; |
| | | |
| | | @ApiModelProperty(value = "成团人数") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer groupSize; |
| | | |
| | | @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 = "开始状态 0=未开始 1=已开始 2=已结束 ") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private StartStatusEnum startStatus; |
| | | |
| | | |
| | | @ApiModelProperty(value = "成团状态 0=待成团 1=已成团 2=成团失败") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private GroupStatusEnum groupStatus; |
| | | |
| | | @ApiModelProperty(value = "是团购 1没有团购,2有团购") |
| | | @JsonInclude(JsonInclude.Include.ALWAYS) |
| | | private Integer isGoodsGroupPurchase; |
| | | } |
| | | } |