package com.jeeplus.psimanage.dishManage.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jeeplus.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 菜单菜品
 */
@Data
@TableName("psi_dish_menu_dish")
public class PsiDishMenuDish extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单销售价，不影响菜品库价格
     */
    private BigDecimal salePrice;

    private Integer sort;

    private String remarks;

    /**
     * 是否历史菜单：0否，1是
     */
    private String isHistory;

    /**
     * 成为历史菜单的时间
     */
    private Date historyTime;

    private String menuId;

    private String dishId;

    @TableField(exist = false)
    private String dishCode;

    @TableField(exist = false)
    private String dishName;

    @TableField(exist = false)
    private String typeId;

    @TableField(exist = false)
    private String typeName;

    @TableField(exist = false)
    private String imageUrl;

    @TableField(exist = false)
    private String unit;

    @TableField(exist = false)
    private String spec;

    @TableField(exist = false)
    private String taste;

    @TableField(exist = false)
    private String status;

    @TableField(exist = false)
    private BigDecimal librarySalePrice;

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