추세검색 설정 수정
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
package com.goldenchart.entity;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
import lombok.*;
|
||||
import org.hibernate.annotations.JdbcTypeCode;
|
||||
import org.hibernate.type.SqlTypes;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Entity
|
||||
@Table(name = "gc_trend_search_snapshot")
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class GcTrendSearchSnapshot {
|
||||
|
||||
@Id
|
||||
@Column(name = "scope_key", length = 128, nullable = false)
|
||||
private String scopeKey;
|
||||
|
||||
@Column(name = "user_id")
|
||||
private Long userId;
|
||||
|
||||
@Column(name = "device_id", length = 100)
|
||||
private String deviceId;
|
||||
|
||||
@Column(name = "timeframe", length = 16, nullable = false)
|
||||
private String timeframe;
|
||||
|
||||
@Column(name = "scanned_at", nullable = false)
|
||||
private LocalDateTime scannedAt;
|
||||
|
||||
@Column(name = "request_json", columnDefinition = "JSON")
|
||||
@JdbcTypeCode(SqlTypes.JSON)
|
||||
private String requestJson;
|
||||
|
||||
@Column(name = "results_json", columnDefinition = "JSON", nullable = false)
|
||||
@JdbcTypeCode(SqlTypes.JSON)
|
||||
private String resultsJson;
|
||||
}
|
||||
Reference in New Issue
Block a user