|
|
@@ -2,12 +2,16 @@ package cn.iocoder.yudao.module.system.controller.admin.biz.vo.elderlyitemsround
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
import javax.validation.constraints.NotEmpty;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
+import java.time.LocalDateTime;
|
|
|
import java.util.List;
|
|
|
|
|
|
+import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
|
|
+
|
|
|
@Schema(description = "管理后台 - 长者巡房项目批量新增 Request VO")
|
|
|
@Data
|
|
|
public class ElderlyItemsRoundBatchSaveReqVO {
|
|
|
@@ -29,6 +33,10 @@ public class ElderlyItemsRoundBatchSaveReqVO {
|
|
|
@Schema(description = "房间id", example = "1")
|
|
|
private Long roomId;
|
|
|
|
|
|
+ @Schema(description = "巡房时间")
|
|
|
+ @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
|
+ private LocalDateTime roundTime;
|
|
|
+
|
|
|
@Schema(description = "巡视记录明细", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
@Valid
|
|
|
@NotEmpty(message = "records 不能为空")
|