package com.ruoyi.frequency.mallspecifications.entity;

import java.math.BigDecimal;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.vo.UserInfo;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单规格规格对象 mall_specifications
 *
 * @author liwenlong
 * @date 2024-01-25
 */
@Data
@Accessors(chain = true)
@TableName("mall_specifications")
public class MallSpecifications extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("删除标志;1正常 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty("商品id")
    @Excel(name = "商品id")
    private Long goodsId;

    @ApiModelProperty("规格名称")
    @Excel(name = "规格名称")
    private String name;

    @ApiModelProperty("销量")
    @Excel(name = "销量")
    private Integer sales;

    @ApiModelProperty("库存")
    @Excel(name = "库存")
    private Integer stock;

    @ApiModelProperty("售价")
    @Excel(name = "售价")
    private BigDecimal price;

    @ApiModelProperty("图片")
    @Excel(name = "图片")
    private String image;

    @ApiModelProperty("积分")
    @Excel(name = "积分")
    private BigDecimal integral;



}
