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;

import java.util.List;

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

    private static final long serialVersionUID = 1L;

    /** 菜品ID */
    private String dishId;

    /** 规格组名称(如: 份量、口味) */
    private String groupName;

    /** 排序权重 */
    private Integer sortOrder;

    /** 规格选项列表(非DB字段) */
    @TableField(exist = false)
    private List<HotelDishSpecOption> options;
}
