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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

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

@Schema(description = "管理后台 - 长者报餐记录 Response VO")
@Data
public class ElderlyOrderFoodRespVO {

    @Schema(description = "id", example = "1")
    private Long id;

    @Schema(description = "长者id", example = "1")
    private Long elderId;

    @Schema(description = "长者姓名", example = "1")
    private String elderName;

    @Schema(description = "报餐日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate orderFoodDate;

    @Schema(description = "额外自选")
    private String extraDishes;

    @Schema(description = "额外自选选项")
    private String extraDishesOption;

    @Schema(description = "机构id", example = "1")
    private Long tenantId;
}

