package com.jeeplus.hotelorder.dish.domain;

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

@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "hotel_dish_category")
public class HotelDishCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 分类名称 */
    private String name;

    /** 图标(emoji) */
    private String icon;

    /** 排序号 */
    private Integer sortOrder;

    /** 状态: ENABLED-启用, DISABLED-禁用 */
    private String status;

    /** 菜品数量(非DB字段，查询用) */
    @TableField(exist = false)
    private Integer dishCount;
}
