데이터셋 테이블 수정
This commit is contained in:
@@ -121,7 +121,7 @@ public class DatasetEntity {
|
|||||||
@JdbcTypeCode(SqlTypes.JSON)
|
@JdbcTypeCode(SqlTypes.JSON)
|
||||||
private Map<String, Integer> classCounts;
|
private Map<String, Integer> classCounts;
|
||||||
|
|
||||||
@Size(max = 255)
|
@Size(max = 32)
|
||||||
@Column(name = "uid")
|
@Column(name = "uid")
|
||||||
private String uid;
|
private String uid;
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import jakarta.persistence.Id;
|
|||||||
import jakarta.persistence.Table;
|
import jakarta.persistence.Table;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
|
import java.math.BigDecimal;
|
||||||
import java.time.ZonedDateTime;
|
import java.time.ZonedDateTime;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
@@ -79,6 +80,19 @@ public class DatasetObjEntity {
|
|||||||
@Column(name = "uuid")
|
@Column(name = "uuid")
|
||||||
private UUID uuid;
|
private UUID uuid;
|
||||||
|
|
||||||
|
@Size(max = 32)
|
||||||
|
@Column(name = "uid")
|
||||||
|
private String uid;
|
||||||
|
|
||||||
|
@Column(precision = 5, scale = 2)
|
||||||
|
private BigDecimal chnDtctP;
|
||||||
|
|
||||||
|
@Column(precision = 5, scale = 2)
|
||||||
|
private BigDecimal bfClsPro;
|
||||||
|
|
||||||
|
@Column(precision = 5, scale = 2)
|
||||||
|
private BigDecimal afClsPro;
|
||||||
|
|
||||||
public Basic toDto() {
|
public Basic toDto() {
|
||||||
return new DatasetObjDto.Basic(
|
return new DatasetObjDto.Basic(
|
||||||
this.objId,
|
this.objId,
|
||||||
|
|||||||
Reference in New Issue
Block a user