| package cc.mrbird.febs.mall.entity; | 
|   | 
| import cc.mrbird.febs.common.entity.BaseEntity; | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import lombok.Data; | 
|   | 
| import java.math.BigDecimal; | 
| import java.util.List; | 
|   | 
| /** | 
|  * @author wzy | 
|  * @date 2021-09-17 | 
|  **/ | 
| @Data | 
| @TableName("mall_goods") | 
| public class MallGoods extends BaseEntity { | 
|   | 
|     private String goodsNo; | 
|   | 
|     private String goodsName; | 
|   | 
|     private String goodsIntrodution; | 
|   | 
|     private String unit; | 
|   | 
|     private String thumb; | 
|   | 
|     private String goodsDetails; | 
|   | 
|     private Integer isSale; | 
|   | 
|     /** | 
|      * 上架 | 
|      */ | 
|     public static final Integer ISSALE_STATUS_ENABLE = 1; | 
|     /** | 
|      * 下架 | 
|      */ | 
|     public static final Integer ISSALE_STATUS_DISABLED = 2; | 
|   | 
|     private String originalPrice; | 
|   | 
|     private String presentPrice; | 
|   | 
|     private Long categoryId; | 
|   | 
|     private Integer isHot; | 
|   | 
|     private BigDecimal staticMultiple; | 
|   | 
|     private Integer isNormal; | 
|   | 
|     @TableField(exist = false) | 
|     private List<MallGoodsStyle> styles; | 
|   | 
|     @TableField(exist = false) | 
|     private List<String> images; | 
| } |