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

import cn.iocoder.yudao.module.system.dal.dataobject.biz.NursingPlanItemDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 护理计划新增/修改 Request VO")
@Data
public class NursingPlanSaveReqVO {


    private Long id;

    @Schema(description = "长者ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10171")
    @NotNull(message = "长者ID不能为空")
    private Long elderId;

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

    @Schema(description = "生效日期")
    private LocalDate effectiveDate;

    @Schema(description = "截止日期")
    private LocalDate expirationDate;

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

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

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

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

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

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

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

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

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

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

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

}