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

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

import javax.validation.constraints.NotNull;
import java.util.List;

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

    @Schema(description = "护理计划ID（修改时必传）", example = "1")
    private Long id;

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

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

    @Schema(description = "租户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "租户ID不能为空")
    private Long tenantId;

    @Schema(description = "护理计划明细列表")
    private List<SpecialNursingPlanItemSaveReqVO> items;
}
