package com.jeeplus.hotelorder.dish.service.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.jeeplus.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 菜品分类管理-DTO
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HotelDishCategoryDTO extends BaseDTO {

    public static final String BIZ_CODE = "hotel_dish_category";

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

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

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

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

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

    private static final long serialVersionUID = 1L;
}
