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

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

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

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

@Schema(description = "管理后台 - 长者护理记录 Response VO")
@Data
public class ElderlyNursingLogRespVO {

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

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

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

    @Schema(description = "床位号（完整床位名）")
    private String bedName;

    @Schema(description = "护理员")
    private String nurse;

    @Schema(description = "护理等级")
    private String nurseLevelName;

    @Schema(description = "护理计划项目id", example = "1")
    private Long nursingPlanItemId;

    @Schema(description = "护理计划项目名称", example = "基础护理")
    private String nursingItemName;

    @Schema(description = "频次类型", example = "1")
    private Integer frequencyCategoryType;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "护理日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime finishTime;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime createTime;
}
