추론실행 shp파일 생성 jar
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.kamco.cd.kamcoback.inference.dto;
|
||||
|
||||
import com.kamco.cd.kamcoback.postgres.entity.InferenceResultsTestingEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
public class InferenceResultsTestingDto {
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public static class ShpDto {
|
||||
|
||||
private Long batchId;
|
||||
private String uid;
|
||||
private String mapId;
|
||||
|
||||
public static ShpDto fromEntity(InferenceResultsTestingEntity e) {
|
||||
return new ShpDto(e.getBatchId(), e.getUid(), e.getMapId());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user