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.*;

import java.time.LocalDate;
import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;
import com.alibaba.excel.annotation.*;

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


@Schema(description = "管理后台 - 长者健康随访 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ElderlyHealthFollowUpPageVO {

//    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31063")
//    @ExcelProperty("主键ID")
//    private Long id;

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

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

    @Schema(description = "长者性别")
    @ExcelProperty("长者性别")
    private Integer elderSex;

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

    @Schema(description = "床位号")
    private String bedName;

    @Schema(description = "随访等级")
    @ExcelProperty("随访等级")
    private String followUpGrade;

    @Schema(description = "上次随访时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
//    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
    private LocalDateTime followUpTime;

    @Schema(description = "下次随访时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
//    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
    private LocalDateTime nextFollowUpTime;

    @Schema(description = "租户ID")
    private Long tenantId;

    @Schema(description = "租户名称")
    private String tenantName;


}