package com.gxwebsoft.apps.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 菜品分类
 *
 * @author 科技小王子
 * @since 2023-01-12 15:34:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "HualalaFood对象", description = "菜品分类")
@TableName("apps_hualala_food")
public class HualalaFood implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "菜品ID")
    private String foodId;

    @ApiModelProperty(value = "菜品Key")
    private String foodKey;

    @ApiModelProperty(value = "集团ID")
    private String groupId;

    @ApiModelProperty(value = "店铺ID")
    private String shopId;

    @ApiModelProperty(value = "菜品条目数")
    private String foodCount;

    @ApiModelProperty(value = "加入购物车数量")
    @TableField(exist = false)
    private Integer cartNum;

    @ApiModelProperty(value = "售价")
    @TableField(exist = false)
    private BigDecimal sellPrice;

    @ApiModelProperty("子菜单")
    @TableField(exist = false)
    private List<HualalaFood> children;
//
//    @ApiModelProperty(value = "pos菜品分类ID")
//    private String foodCategoryId;
//
//    @ApiModelProperty(value = "pos菜品分类Key")
//    private String foodCategoryKey;
//
//    @ApiModelProperty(value = "pos菜品分类名称")
//    private String foodCategoryName;

    @ApiModelProperty(value = "线上菜品分类ID")
    private String foodOnlineCategoryId;

    @ApiModelProperty(value = "线上菜品分类Key")
    private String foodOnlineCategoryKey;

    @ApiModelProperty(value = "线上菜品分类名称")
    private String foodOnlineCategoryName;

    @ApiModelProperty(value = "是/否是配料，false：不是 true：是")
    private Integer isBatching;

    @ApiModelProperty(value = "是/否可单独销售 0：不单独销售（默认） 1：可单独销售")
    private Integer isSingleSale;

    @ApiModelProperty(value = "此菜品关联的收入科目key，例如冷菜收入、热菜收入、酒水收入")
    private String foodSubjectKey;

    @ApiModelProperty(value = "对应出品部门Key列表")
    private String departmentKeyLst;

    @ApiModelProperty(value = "配菜的分类key,在这里选择配菜")
    private String batchingFoodCategoryKey;

    @ApiModelProperty(value = "菜品名称")
    private String foodName;

    @ApiModelProperty(value = "菜品编号 可用于与三方菜品数据做映射")
    private String foodCode;

    @ApiModelProperty(value = "菜品别名")
    private String foodAliasName;

    @ApiModelProperty(value = "菜品注记码")
    private String foodMnemonicCode;

    @ApiModelProperty(value = "配菜的分类key,在这里选择配菜")
    private Integer isDiscount;

    @ApiModelProperty(value = "规格")
    private Object units;

  @ApiModelProperty(value = "起售")
  private String minOrderCount;

  @ApiModelProperty(value = "分类编号")
  private String foodCategoryCode;

  @ApiModelProperty(value = "分类英文名")
  private String foodCategoryEnName;

  @ApiModelProperty(value = "分类分组名称")
  private String foodCategoryGroupName;

  @ApiModelProperty(value = "0:堂食 1:堂食，外送，自提 2:外送，自提 3:自提 4:外送 5:堂食，自提 6:堂食，外送")
  private String takeawayTag;

  @ApiModelProperty(value = "菜品图片")
  private String imgePath;

  @ApiModelProperty(value = "结算系数")
  private String settlementProportion;

  @ApiModelProperty(value = "分类显示排序值")
  private Integer sortIndex;

  @ApiModelProperty(value = "状态, 0正常, 1冻结")
  private Integer status;

  @ApiModelProperty(value = "是否删除, 0否, 1是")
  @TableLogic
  private Integer deleted;

  @ApiModelProperty(value = "租户id")
  private Integer tenantId;

  @ApiModelProperty(value = "注册时间")
  private Date createTime;

  @ApiModelProperty(value = "修改时间")
  private Date updateTime;

//    private Integer isComments;
//
//    private Integer isActive;
//
//    private Integer isOpen;
//
//    private Integer isSetFood;
//
//    private Object setFoodDetailJson;
//
//    private Integer isTempFood;
//
//    private String py;
//
//
//    private String tasteList;
//
//    private Object tasteGroupList;
//
//    private Object makingMethodList;
//
//    private Object makingMethodGroupList;
//
//    private Integer isSpecialty;
//
//    private Integer isRecommend;
//
//    private Integer isNews;
//
//    private String hotTag;
//
//    private String salesCount;
//
//    private Integer isNeedConfirmFoodNumber;
//
//    private String takeoutPackagingFee;
//
//    private String incrementUnit;

//    private Integer isHasImage;
//
//    private String imageHwp;
//
//    private String starLevel;
//
//    private String foodTagIds;
//
    private String parentFoodId;
//
//    private String foodEnName;
//
//    private Integer isAutoAdd;
//
//    private Integer isCanRefund;
//
//    private Integer setPerson;
//
//    private Integer tasteIsRequired;
//
//    private Integer tasteIsMultiple;
//
//    private Integer makingMethodIsRequired;
//
//    private Integer makingMethodIsMultiple;
//
//    private String initClickAmount;
//
//    private String actualClickAmount;
//
//    private String recentClickAmount;
//
//    private String clickAlertMess;
//
//    private String sourceFoodId;
//
//    private String salesCommission;
//
//    private String foodKeyElementLst;
//
//    private String foodSortIndex;
//
//    private String actionTime;
//
//    private String foodSubjectName;
//
//    private String foodSubjectCode;
//
//    private String departmentId;
//
//    private String departmentKey;
//
//    private String popularity;
//
//    private String detailSplit;
//
//    private String batchingIsFoodNumberRate;

//    @ApiModelProperty(value = "特价")
//    private String specialPrice;
//
//    @ApiModelProperty(value = "特价2")
//    private String specialPrice2;
//
//    @ApiModelProperty(value = "特价2")
//    private String specialPrice3;
//
//    @ApiModelProperty(value = "特价2")
//    private String specialPrice4;
//
//    @ApiModelProperty(value = "特价2")
//    private String specialPrice5;
//
//    @ApiModelProperty(value = "特价2")
//    private String specialPrice6;
//
//    @ApiModelProperty(value = "特价2")
//    private String onlineWmPrice;
//
//    @ApiModelProperty(value = "标签ids")
//    private String tagIds;
//
//    @ApiModelProperty(value = "标签名称")
//    private String tagNames;
//
//    @ApiModelProperty(value = "礼品券ID")
//    private String giftItemId;
//
//    @ApiModelProperty(value = "礼品券有效期")
//    private String giftValidPeriod;
//
//    @ApiModelProperty(value = "菜品分类说明")
//    private String description;
//
//    @ApiModelProperty(value = "记录状态")
//    private String action;

//    @ApiModelProperty(value = "封面图")
//    private String image;
//
//    @ApiModelProperty(value = "内容")
//    private String content;
//
//    @ApiModelProperty(value = "排序(数字越小越靠前)")
//    private Integer sortNumber;
//
//    @ApiModelProperty(value = "备注")
//    private String comments;

//  private String workingLunchTag;
//
//  private String adsId;

}
