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.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 ElderlyTempOutPageReqVO extends PageParam {

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

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

    @Schema(description = "离住状态")
    private Integer outStatus;

    @Schema(description = "机构id数组")
    private Long[] tenantIds;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @Schema(description = "离院时间")
    private LocalDateTime[] outTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @Schema(description = "返回时间")
    private LocalDateTime[] comeTime;
}

