추론실행 shp파일 생성 jar
This commit is contained in:
@@ -0,0 +1,102 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Table;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import jakarta.validation.constraints.Size;
|
||||
import java.time.ZonedDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.annotations.ColumnDefault;
|
||||
import org.locationtech.jts.geom.Geometry;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "inference_results_testing")
|
||||
public class InferenceResultsTestingEntity {
|
||||
|
||||
@Column(name = "probability")
|
||||
private Double probability;
|
||||
|
||||
@Column(name = "before_year")
|
||||
private Long beforeYear;
|
||||
|
||||
@Column(name = "after_year")
|
||||
private Long afterYear;
|
||||
|
||||
@Column(name = "map_id", length = Integer.MAX_VALUE)
|
||||
private String mapId;
|
||||
|
||||
@Column(name = "source_1", length = Integer.MAX_VALUE)
|
||||
private String source1;
|
||||
|
||||
@Column(name = "source_2", length = Integer.MAX_VALUE)
|
||||
private String source2;
|
||||
|
||||
@Column(name = "model_version", length = Integer.MAX_VALUE)
|
||||
private String modelVersion;
|
||||
|
||||
@Column(name = "cls_model_path", length = Integer.MAX_VALUE)
|
||||
private String clsModelPath;
|
||||
|
||||
@Column(name = "cls_model_version", length = Integer.MAX_VALUE)
|
||||
private String clsModelVersion;
|
||||
|
||||
@Column(name = "cd_model_type", length = Integer.MAX_VALUE)
|
||||
private String cdModelType;
|
||||
|
||||
@Column(name = "id")
|
||||
private Long id;
|
||||
|
||||
@Column(name = "model_name", length = Integer.MAX_VALUE)
|
||||
private String modelName;
|
||||
|
||||
@Column(name = "batch_id")
|
||||
private Long batchId;
|
||||
|
||||
@Column(name = "area")
|
||||
private Double area;
|
||||
|
||||
@Column(name = "cd_prob")
|
||||
private Double cdProb;
|
||||
|
||||
@Column(name = "before_c", length = Integer.MAX_VALUE)
|
||||
private String beforeC;
|
||||
|
||||
@Column(name = "before_p")
|
||||
private Double beforeP;
|
||||
|
||||
@Column(name = "after_c", length = Integer.MAX_VALUE)
|
||||
private String afterC;
|
||||
|
||||
@Column(name = "after_p")
|
||||
private Double afterP;
|
||||
|
||||
@Column(name = "input1")
|
||||
private Long input1;
|
||||
|
||||
@Column(name = "input2")
|
||||
private Long input2;
|
||||
|
||||
@Id
|
||||
@NotNull
|
||||
@ColumnDefault("nextval('inference_results_testing_seq_seq')")
|
||||
@Column(name = "seq", nullable = false)
|
||||
private Long seq;
|
||||
|
||||
@ColumnDefault("now()")
|
||||
@Column(name = "created_date")
|
||||
private ZonedDateTime createdDate;
|
||||
|
||||
@Size(max = 32)
|
||||
@NotNull
|
||||
@ColumnDefault("upper(replace((uuid_generate_v4()), '-', ''))")
|
||||
@Column(name = "uid", nullable = false, length = 32)
|
||||
private String uid;
|
||||
|
||||
@Column(name = "geometry", columnDefinition = "geometry")
|
||||
private Geometry geometry;
|
||||
}
|
||||
Reference in New Issue
Block a user