라벨 다운로드 확인 API 추가
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.GeneratedValue;
|
||||
import jakarta.persistence.GenerationType;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Table;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import jakarta.validation.constraints.Size;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "batch_step_history")
|
||||
public class BatchStepHistoryEntity {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "id", nullable = false)
|
||||
private Long id;
|
||||
|
||||
@NotNull
|
||||
@Column(name = "anal_uid", nullable = false)
|
||||
private Long analUid;
|
||||
|
||||
@Size(max = 255)
|
||||
@NotNull
|
||||
@Column(name = "result_uid", nullable = false)
|
||||
private String resultUid;
|
||||
|
||||
@Size(max = 100)
|
||||
@NotNull
|
||||
@Column(name = "step_name", nullable = false, length = 100)
|
||||
private String stepName;
|
||||
|
||||
@Size(max = 50)
|
||||
@NotNull
|
||||
@Column(name = "status", nullable = false, length = 50)
|
||||
private String status;
|
||||
|
||||
@Column(name = "error_message", length = Integer.MAX_VALUE)
|
||||
private String errorMessage;
|
||||
|
||||
@NotNull
|
||||
@Column(name = "started_dttm", nullable = false)
|
||||
private LocalDateTime startedDttm;
|
||||
|
||||
@Column(name = "completed_dttm")
|
||||
private LocalDateTime completedDttm;
|
||||
|
||||
@NotNull
|
||||
@Column(name = "created_dttm", nullable = false)
|
||||
private LocalDateTime createdDttm;
|
||||
|
||||
@NotNull
|
||||
@Column(name = "updated_dttm", nullable = false)
|
||||
private LocalDateTime updatedDttm;
|
||||
}
|
||||
Reference in New Issue
Block a user