추론실행 수정
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import com.kamco.cd.kamcoback.layer.dto.LayerDto;
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.GeneratedValue;
|
||||
@@ -73,10 +74,10 @@ public class MapLayerEntity {
|
||||
@NotNull
|
||||
@ColumnDefault("now()")
|
||||
@Column(name = "created_dttm", nullable = false)
|
||||
private ZonedDateTime createdAt = ZonedDateTime.now();
|
||||
private ZonedDateTime createdDttm = ZonedDateTime.now();
|
||||
|
||||
@Column(name = "updated_dttm")
|
||||
private ZonedDateTime updatedAt;
|
||||
private ZonedDateTime updatedDttm;
|
||||
|
||||
@Column(name = "uuid")
|
||||
private UUID uuid = UUID.randomUUID();
|
||||
@@ -95,4 +96,30 @@ public class MapLayerEntity {
|
||||
|
||||
@Column(name = "sort_order")
|
||||
private Long order;
|
||||
|
||||
@Column(name = "tag")
|
||||
private String tag;
|
||||
|
||||
@Column(name = "is_deleted")
|
||||
private Boolean isDeleted = false;
|
||||
|
||||
public LayerDto.Detail toDto() {
|
||||
return new LayerDto.Detail(
|
||||
this.uuid,
|
||||
this.layerType,
|
||||
this.title,
|
||||
this.description,
|
||||
this.tag,
|
||||
this.order,
|
||||
this.isChangeMap,
|
||||
this.isLabelingMap,
|
||||
this.url,
|
||||
this.minLon,
|
||||
this.minLat,
|
||||
this.maxLon,
|
||||
this.maxLat,
|
||||
this.minZoom,
|
||||
this.maxZoom,
|
||||
this.createdDttm);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user