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

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_material
 * 
 * @author xsheng
 * @date 2025-05-25
 */


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

    /** 原料id */
    private Long materialId;

    /** 区域id */
    @Excel(name = "区域id")
    @ApiModelProperty(value = "区域id")
    private Long areaId;

    private String areaName;

    /** 原料名称 */
    @Excel(name = "原料名称")
    @ApiModelProperty(value = "原料名称")
    private String materialName;

    /** 原料编码 */
    @Excel(name = "原料编码")
    @ApiModelProperty(value = "原料编码")
    private String materialCode;

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

    /** 类别id */
    @Excel(name = "类别id")
    @ApiModelProperty(value = "类别id")
    private Long materialTypeId;

    private String materialTypeName;

    /** 类别ids */
    @Excel(name = "类别ids")
    @ApiModelProperty(value = "类别ids")
    private Long[] materialTypeIds;

    /** 条码 */
    @Excel(name = "条码")
    @ApiModelProperty(value = "条码")
    private String barCode;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty(value = "单位")
    private Long unitId;

    private String unitName;

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

    /** 进价 */
    @Excel(name = "进价")
    @ApiModelProperty(value = "进价")
    private Long unitPrice;

    /** 售卖类型(1计量2散称) */
    @Excel(name = "售卖类型(1计量2散称)")
    @ApiModelProperty(value = "售卖类型(1计量2散称)")
    private Long salesMode;

    /** 保质期类型 1年 2月 3日 */
    @Excel(name = "保质期类型 1年 2月 3日")
    @ApiModelProperty(value = "保质期类型 1年 2月 3日")
    private Long shelfLifeType;

    /** 保质期数 */
    @Excel(name = "保质期数")
    @ApiModelProperty(value = "保质期数")
    private Long shelfLifeDays;

    /** 采购价格上限 */
    @Excel(name = "采购价格上限")
    @ApiModelProperty(value = "采购价格上限")
    private Long purPriceCeiling;

    /** 大类id */
    @Excel(name = "大类id")
    @ApiModelProperty(value = "大类id")
    private Long bigCategoryId;

    /** 规格 */
    @Excel(name = "规格")
    @ApiModelProperty(value = "规格")
    private String size;

    /** 简介 */
    @Excel(name = "简介")
    @ApiModelProperty(value = "简介")
    private String description;


}
