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.time.LocalDate;
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;

@Schema(description = "管理后台 - 护理计划 Response VO")
@Data
@ExcelIgnoreUnannotated
public class NursingPlanRespVO {

    @Schema(description = "护理计划ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14123")
    @ExcelProperty("护理计划ID")
    private Long id;

    @Schema(description = "长者ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10171")
    @ExcelProperty("长者ID")
    private Long elderId;

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

    @Schema(description = "生效日期")
    @ExcelProperty("生效日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate effectiveDate;

    @Schema(description = "截止日期")
    @ExcelProperty("截止日期")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate expirationDate;

    @Schema(description = "饮食类型", example = "2")
    @ExcelProperty("饮食类型")
    private String dietaryType;

    @Schema(description = "饮食方式")
    @ExcelProperty("饮食方式")
    private String diet;

    @Schema(description = "饮食禁忌")
    @ExcelProperty("饮食禁忌")
    private String dietaryTaboo;

    @Schema(description = "风险防范")
    @ExcelProperty("风险防范")
    private String riskPrevention;

    @Schema(description = "照护特点")
    @ExcelProperty("照护特点")
    private String nursingCharacteristics;

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

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

    @Schema(description = "类型，1.生活护理 2.医疗护理", example = "1")
    @ExcelProperty("类型，1.生活护理 2.医疗护理")
    private String type;

    @Schema(description = "状态，0：禁用 1：正常", example = "1")
    @ExcelProperty("状态，0：禁用 1：正常")
    private Integer status;

    @Schema(description = "护理项目列表")
    private List<NursingPlanItemRespVO> items;

    @Schema(description = "额外护理项目列表")
    private List<NursingPlanItemRespVO> extraItems;

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

    @Schema(description = "护理级别名称")
    private String nurseLevelName;
}
