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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

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

@Schema(description = "管理后台 - 离住记录 Response VO")
@Data
public class ElderlyTempOutRespVO {

    @Schema(description = "id")
    private Long id;

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

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

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

    @Schema(description = "床位号(楼栋-楼层-房间号-床位号)")
    private String bedName;

    @Schema(description = "离住原因")
    private String outReason;

    @Schema(description = "离院时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = "GMT+8")
    private Date outTime;

    @Schema(description = "返回时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = "GMT+8")
    private Date comeTime;

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

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新人")
    private String updater;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "机构id")
    private Long tenantId;
}

