package com.jeesharp.business.modules.food.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeesharp.framework.mybatis.core.dataobject.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 订餐菜单
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("biz_food_meal_menu")
public class FoodMealMenu extends BaseEntity<FoodMealMenu> {

    /**
     * 服务区域ID
     */
    private String serviceAreaId;
    /**
     * 服务区域名称快照
     */
    private String serviceAreaName;
    /**
     * 菜单模板ID
     */
    private String templateId;
    /**
     * 菜单模板名称快照
     */
    private String templateName;
    /**
     * 门店ID（兼容字段）
     */
    private String restaurantId;
    /**
     * 菜单日期
     */
    private LocalDate menuDate;
    /**
     * 餐别：breakfast/lunch/dinner/snack
     */
    private String mealType;
    /**
     * 适用范围：public/company/all
     */
    private String scopeType;
    /**
     * 企业ID
     */
    private String companyId;
    /**
     * 企业名称快照
     */
    private String companyName;
    /**
     * 发布状态：draft/published/offline
     */
    private String publishStatus;
    /**
     * 发布时间
     */
    private LocalDateTime publishTime;
    /**
     * 排序号
     */
    private Integer sortNo;
}
