| package com.xzx.gc.entity; | 
|   | 
|   | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import com.xzx.gc.common.entity.BaseEntity; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import javax.persistence.Column; | 
| import javax.persistence.Table; | 
| import java.util.Date; | 
|   | 
| @Data | 
| @Table(name = "xzx_score_goods") | 
| public class ScoreGoods extends BaseEntity { | 
|   | 
|     private String goodsNo; | 
|   | 
|     private String name; | 
|   | 
|     private String unit; | 
|   | 
|     private String brand; | 
|   | 
|     private String shipping; | 
|   | 
|     private String thumb; | 
|   | 
|     private String details; | 
|   | 
| //    private String priceRange; | 
|   | 
|     private String originalPrice; | 
|   | 
|     private String presentPrice; | 
|   | 
|     private String categoryId; | 
|   | 
|     private String categoryName; | 
|   | 
|     /** | 
|      * 是否抢购 1-是 2-否 | 
|      */ | 
|     private Integer isQg; | 
|     public static final Integer ISQG_YES = 1; | 
|     public static final Integer ISQG_NO = 2; | 
|   | 
|     @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; | 
|   | 
|     private Integer isSale; | 
|     public static final Integer ISSALE_YES = 1; | 
|     public static final Integer ISSALE_NO = 2; | 
|   | 
|     private Integer carbonEmissions; | 
| } |