package org.springblade.modules.custom.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import org.springblade.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 标贴(酒标)表实体类
 *
 * @author zzyd
 * @since 2023-02-07
 */
@Data
@TableName("biz_bottle_label")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BottleLabel对象", description = "标贴表")
public class BottleLabel extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 名称
	*/
	@ApiModelProperty(value = "名称")
	private String name;
	/**
	* 图片
	*/
	@ApiModelProperty(value = "图片")
	private String image;
	/**
	* 价格
	*/
	@ApiModelProperty(value = "价格")
	private BigDecimal price;
	/**
	* 单位
	*/
	@ApiModelProperty(value = "单位")
	private String unit;
	/**
	* 排序
	*/
	@ApiModelProperty(value = "排序")
	private Integer sort;
	/**
	* 状态 0-禁用 1-启用
	*/
	@ApiModelProperty(value = "状态 0-禁用 1-启用")
	private Integer status;
	/**
	 * 默认数量
	 */
	@ApiModelProperty(value = "默认数量")
	private Integer defaultNum ;
	/**
	 * 厂商id
	 */
	@ApiModelProperty(value = "厂商id")
	private Long manufacturerId;
	/**
	 * 分类id
	 */
	@ApiModelProperty(value = "分类id")
	private Long categoryId;

	@ApiModelProperty(value = "平面图url")
	private String planUrl;

	@ApiModelProperty(value = "3d曲面图")
	private String surfaceGraph;


	@TableField(exist = false)
	private String labelIds;
}
