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

import lombok.*;
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.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 ByodRegistrationPageReqVO extends PageParam {


    @Schema(description = "长者ID", example = "9832")
    private Long elderId;
//
//    @Schema(description = "类型", example = "1")
//    private Integer type;
//
//    @Schema(description = "送药人姓名", example = "王五")
//    private String deliveryPersonName;
//
//    @Schema(description = "接收人姓名", example = "赵六")
//    private String recipientName;


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

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

    @Schema(description = "登记时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] registrationDate;


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

    @Schema(description = "预计可使用日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] expectedUsableTime;

}