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

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 java.time.LocalDate;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

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

@Schema(description = "管理后台 - 餐谱计划 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CateringPlanRespVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22423")
    @ExcelProperty("主键ID")
    private Long id;

    @Schema(description = "餐厅ID", example = "20517")
    @ExcelProperty("餐厅ID")
    private Long restaurantId;

    @Schema(description = "餐厅名称", example = "芋艿")
    @ExcelProperty("餐厅名称")
    private String restaurantName;

    @Schema(description = "计划开始日期")
    @ExcelProperty("计划开始日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate scheduledStartDate;

    @Schema(description = "计划结束日期")
    @ExcelProperty("计划结束日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate scheduledEndDate;

    @Schema(description = "餐谱计划名称", example = "李四")
    @ExcelProperty("餐谱计划名称")
    private String planName;

    @Schema(description = "描述")
    @ExcelProperty("描述")
    private String description;

    @Schema(description = "上墙备注")
    @ExcelProperty("上墙备注")
    private String remarks;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createdDate;

    @Schema(description = "创建人")
    @ExcelProperty("创建人")
    private String createdBy;


    @Schema(description = "餐谱菜品列表")
    private List<CateringPlanItemDO> items;
}