package com.bonus.canteen.core.supermarket.domain;

import java.math.BigDecimal;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 超市商城商品对象 supermarket_product
 * 
 * @author xsheng
 * @date 2025-06-03
 */


@Data
@ToString
public class SupermarketProduct extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 商城商品明细id */
    private Long productId;

    /** 超市id */
    @Excel(name = "超市id")
    @ApiModelProperty(value = "超市id")
    private Long supermarketId;

    /** 商品id */
    @Excel(name = "商品id")
    @ApiModelProperty(value = "商品id")
    private Long materialId;

    /** 上架状态(1-上架,2-下架) */
    @Excel(name = "上架状态(1-上架,2-下架)")
    @ApiModelProperty(value = "上架状态(1-上架,2-下架)")
    private Long putawayState;

    /** 是否线上销售(1是2否) */
    @Excel(name = "是否线上销售(1是2否)")
    @ApiModelProperty(value = "是否线上销售(1是2否)")
    private Long ifOnline;

    /** 销售价 */
    @Excel(name = "销售价")
    @ApiModelProperty(value = "销售价")
    private Long salePrice;

    /** 优惠价 */
    @Excel(name = "优惠价")
    @ApiModelProperty(value = "优惠价")
    private Long prefPrice;

    /** 个人限购数量 */
    @Excel(name = "个人限购数量")
    @ApiModelProperty(value = "个人限购数量")
    private Long personLimit;

    /** 每日限购数量 */
    @Excel(name = "每日限购数量")
    @ApiModelProperty(value = "每日限购数量")
    private Long oneDayLimit;

    /** 图片 */
    @Excel(name = "图片")
    @ApiModelProperty(value = "图片")
    private String imgUrl;

    /** 库存数 */
    @Excel(name = "库存数")
    @ApiModelProperty(value = "库存数")
    private BigDecimal inventoryNum;


}
