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

import lombok.*;
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_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 医疗记录主分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RecordsPageReqVO extends PageParam {

    @Schema(description = "长者ID（关联患者信息表）", example = "9106")
    private Integer elderId;

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

    @Schema(description = "情况发现时间（必填）")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] discoveryTime;

    @Schema(description = "情况发现人（必填）")
    private String discoverer;

    @Schema(description = "情况描述（必填）")
    private String conditionDesc;

    @Schema(description = "处理说明")
    private String handlingNote;

    @Schema(description = "记录创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "是否沟通 0 是全部。1 是沟通过，2 是没沟通")
    private Integer isCommunication;

}