|
|
@@ -1,4 +1,4 @@
|
|
|
-package tr.cn.module.phototherapy.common.dto;
|
|
|
+package cn.tr.module.phototherapy.common.dto;
|
|
|
|
|
|
import cn.tr.core.pojo.BaseDTO;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
@@ -10,6 +10,7 @@ import lombok.Data;
|
|
|
import jakarta.validation.constraints.NotBlank;
|
|
|
import jakarta.validation.constraints.NotNull;
|
|
|
import java.time.LocalDateTime;
|
|
|
+import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* 设备历史传输对象
|
|
|
@@ -47,17 +48,17 @@ public class BusDeviceHistoryDTO extends BaseDTO {
|
|
|
private Integer dataNumber;
|
|
|
|
|
|
@Schema(description = "光疗开始时间")
|
|
|
- private LocalDateTime therapyStartTime;
|
|
|
+ private Date therapyStartTime;
|
|
|
|
|
|
@Schema(description = "光疗结束时间")
|
|
|
- private LocalDateTime therapyEndTime;
|
|
|
+ private Date therapyEndTime;
|
|
|
|
|
|
@Schema(description = "治疗时长")
|
|
|
@NotNull(message = "治疗时长不能为空", groups = {Update.class, Insert.class})
|
|
|
private Integer therapyDuration;
|
|
|
|
|
|
@Schema(description = "设备上传数据时间")
|
|
|
- private LocalDateTime uploadTime;
|
|
|
+ private Date uploadTime;
|
|
|
|
|
|
@Schema(description = "设备运行状态(0关机 1开机 2治疗中)")
|
|
|
@NotNull(message = "设备运行状态不能为空", groups = {Update.class, Insert.class})
|