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

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

import java.time.LocalDateTime;
import java.util.Date;

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

/**
 * 管理后台 - 长者入住适应服务记录 Response VO
 *
 * @author 系统管理员
 */
@Schema(description = "管理后台 - 长者入住适应服务记录 Response VO")
@Data
public class ElderlyAdaptServiceRecordRespVO {

    @Schema(description = "id", example = "1")
    private Long id;

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

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

    @Schema(description = "记录时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = "GMT+8")
    private Date recordTime;

    @Schema(description = "类型，1、新收长者入住适应计划，2、新入住长者适应状况评估表", example = "1")
    private Integer type;

    @Schema(description = "适应计划")
    private String adaptPlan;

    @Schema(description = "模板名称")
    private String templateName;

    @Schema(description = "配置")
    private String jsonOption;

    @Schema(description = "机构id", example = "1")
    private Long tenantId;

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

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

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

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