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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Schema(description = "管理后台 - 长者护理记录新增/修改 Request VO")
@Data
public class ElderlyNursingLogSaveReqVO {

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

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

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

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

    @Schema(description = "图片")
    private String image;

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

    @Schema(description = "护理日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "护理日期不能为空")
    private LocalDate nurseDate;

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