package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.math.BigDecimal;
import java.io.Serializable;

import lombok.Data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 商品管理
 *
 * @author ly
 * @email 1271428398@qq.com
 * @date 2019-03-21 13:29:12
 */
@Data
@TableName("tb_goods")
@ApiModel(value = "商品管理")
public class GoodsEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("")
    @TableId
    private String goodsId;
    @ApiModelProperty("商品名")
    private String name;
    @ApiModelProperty("介绍")
    private String intro;
    @ApiModelProperty("价格")
    private BigDecimal price;
    @ApiModelProperty("数量")
    private Integer num;

}
