fix: 虚拟设备日志mapper

V0.5.x
jay 2023-06-28 21:00:33 +08:00
parent 1b193268ce
commit 94749bd47a
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,8 @@
*/ */
package cc.iotkit.temporal.es.document; package cc.iotkit.temporal.es.document;
import cc.iotkit.model.device.VirtualDeviceLog;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
@ -22,6 +24,7 @@ import org.springframework.data.elasticsearch.annotations.FieldType;
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
@Builder @Builder
@AutoMapper(target= VirtualDeviceLog.class)
@Document(indexName = "virtual_device_log") @Document(indexName = "virtual_device_log")
public class DocVirtualDeviceLog { public class DocVirtualDeviceLog {