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

import lombok.*;

import java.time.LocalDate;
import java.util.*;

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

import java.time.LocalDateTime;

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

@Schema(description = "管理后台 - 长者用药执行记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MedicationExecutionPageReqVO extends PageParam {


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

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

    @Schema(description = "床位ID", example = "24125")
    private Long bedId;

    @Schema(description = "用药执行状态，0：未执行 1：执行中")
    private Integer executeStatus;

    @Schema(description = "药品名称")
    private String drugName;


    @Schema(description = "执行人")
    private String executor;


    @Schema(description = "执行日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] executionDate;

}