package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

import cn.iocoder.yudao.module.system.dal.dataobject.biz.ElderlyOrderFoodDO;
import cn.iocoder.yudao.module.system.dal.dataobject.restaurant.CateringPlanItemDO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ElderlyOrderFoodGetResVO {

    @Schema(description = "长者ID")
    private Long elderId;

    @Schema(description = "日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate date;

    @Schema(description = "星期几（如 MONDAY）")
    private String dayOfWeek;

    // ---------- 早餐 ----------
    @Schema(description = "早餐固定餐")
    private String breakfastFixed;

    @Schema(description = "早餐可选菜品（供选择）")
    private String breakfastOptional;

    // ---------- 午餐 ----------
    @Schema(description = "午餐固定餐")
    private String lunchFixed;

    @Schema(description = "午餐可选菜品")
    private String lunchOptional;

    // ---------- 晚餐 ----------
    @Schema(description = "晚餐固定餐")
    private String dinnerFixed;

    @Schema(description = "晚餐可选菜品")
    private String dinnerOptional;

    // ---------- 长者已选额外自选（假设只针对午餐） ----------
    @Schema(description = "长者已选额外自选（当前仅支持午餐）")
    private String selectedExtra;

    @Schema(description = "长者已选额外自选选项（当前仅支持午餐）")
    private String selectedExtraOption;
}
