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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

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

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

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

    @Schema(description = "护理日志ID", example = "32153")
    @ExcelProperty("护理日志ID")
    private Long nursingLogId;

    @Schema(description = "护理计划项ID")
    @ExcelProperty("护理计划项ID")
    private Long nursingPlanItem;

    @Schema(description = "护理项目名称", example = "张三")
    @ExcelProperty("护理项目名称")
    private String nurseItemName;

    @Schema(description = "护理项目图片")
    private String nurseItemImage;

    @Schema(description = "分类ID", example = "17339")
    @ExcelProperty("分类ID")
    private Long categoryId;

    @Schema(description = "分类名称", example = "芋艿")
    @ExcelProperty("分类名称")
    private String categoryName;

//    @Schema(description = "频次")
//    @ExcelProperty("频次")
//    private Integer frequency;
//
//    @Schema(description = "频次单位")
//    @ExcelProperty("频次单位")
//    private String frequencyUnit;
//
//    @Schema(description = "操作方式")
//    @ExcelProperty("操作方式")
//    private String operatingMode;

    @Schema(description = "护理时间")
    @ExcelProperty("护理时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = TIME_ZONE_DEFAULT)
    private LocalDateTime nursingTime;

    @Schema(description = "护理人")
    @ExcelProperty("护理人")
    private String caregiver;

//    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
//    @ExcelProperty("创建时间")
//    private LocalDateTime createTime;

}