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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

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

@Schema(description = "管理后台 - 长者报餐记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ElderlyOrderFoodPageReqVO extends PageParam {

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

    @Schema(description = "报餐开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate orderFoodStartDate;

    @Schema(description = "报餐结束日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate orderFoodEndDate;

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

    @Schema(description = "楼栋名称", example = "1")
    private String buildName;

    @Schema(description = "楼层名称", example = "1")
    private String floorName;

    @Schema(description = "房间名称", example = "1")
    private String roomName;

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

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

