package cc.mrbird.febs.dapp.entity;
|
|
import cc.mrbird.febs.common.entity.BaseEntity;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
@Data
|
@TableName("mall_goods")
|
public class MallGoods extends BaseEntity {
|
//商品编号
|
private String goodsNo;
|
//商品名称
|
private String goodsName;
|
//商品介绍
|
private String goodsIntrodution;
|
//缩略图
|
private String thumb;
|
//商品参数
|
private String goodsParameter;
|
//商品详情
|
private String goodsDetails;
|
//是否上架;1-上架 2-下架
|
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 Integer volume;
|
/**
|
* 排序
|
*/
|
private Integer sortCnt;
|
/**
|
* 规格ID
|
*/
|
private Long categoryId;
|
|
@TableField(exist = false)
|
private String categoryName;
|
|
}
|