추세검색 설정 수정

This commit is contained in:
Macbook
2026-05-27 02:10:00 +09:00
parent 2e08c6b16f
commit fc06a16184
27 changed files with 1262 additions and 147 deletions
@@ -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;
}