Fix : common
This commit is contained in:
parent
5ca2358721
commit
cb7c025405
@ -26,7 +26,13 @@ import java.time.LocalDateTime;
|
|||||||
* 점주의 개선 실행 계획을 저장
|
* 점주의 개선 실행 계획을 저장
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "action_plan")
|
@Table(name = "action_plan",
|
||||||
|
indexes = {
|
||||||
|
@Index(name = "idx_action_plan_store_id", columnList = "store_id"),
|
||||||
|
@Index(name = "idx_action_plan_user_id", columnList = "user_id"),
|
||||||
|
@Index(name = "idx_action_plan_status", columnList = "status"),
|
||||||
|
@Index(name = "idx_action_plan_created_at", columnList = "created_at")
|
||||||
|
})
|
||||||
@Getter
|
@Getter
|
||||||
@Builder
|
@Builder
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@ -73,10 +79,4 @@ public class ActionPlanEntity {
|
|||||||
@LastModifiedDate
|
@LastModifiedDate
|
||||||
@Column(name = "updated_at")
|
@Column(name = "updated_at")
|
||||||
private LocalDateTime updatedAt;
|
private LocalDateTime updatedAt;
|
||||||
|
|
||||||
@Index(name = "idx_action_plan_store_id", columnList = "store_id")
|
|
||||||
@Index(name = "idx_action_plan_user_id", columnList = "user_id")
|
|
||||||
@Index(name = "idx_action_plan_status", columnList = "status")
|
|
||||||
public static class Indexes {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,13 @@ import java.time.LocalDateTime;
|
|||||||
* AI가 생성한 피드백 정보를 저장
|
* AI가 생성한 피드백 정보를 저장
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "ai_feedback")
|
@Table(name = "ai_feedback",
|
||||||
|
indexes = {
|
||||||
|
@Index(name = "idx_ai_feedback_store_id", columnList = "store_id"),
|
||||||
|
@Index(name = "idx_ai_feedback_generated_at", columnList = "generated_at"),
|
||||||
|
@Index(name = "idx_ai_feedback_created_at", columnList = "created_at"),
|
||||||
|
@Index(name = "idx_ai_feedback_confidence_score", columnList = "confidence_score")
|
||||||
|
})
|
||||||
@Getter
|
@Getter
|
||||||
@Builder
|
@Builder
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@ -59,8 +65,5 @@ public class AiFeedbackEntity {
|
|||||||
@LastModifiedDate
|
@LastModifiedDate
|
||||||
@Column(name = "updated_at")
|
@Column(name = "updated_at")
|
||||||
private LocalDateTime updatedAt;
|
private LocalDateTime updatedAt;
|
||||||
|
|
||||||
@Index(name = "idx_ai_feedback_store_id", columnList = "store_id")
|
|
||||||
public static class Indexes {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,13 @@ import java.time.LocalDateTime;
|
|||||||
* 매장의 분석 정보를 저장
|
* 매장의 분석 정보를 저장
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "analytics")
|
@Table(name = "analytics",
|
||||||
|
indexes = {
|
||||||
|
@Index(name = "idx_analytics_store_id", columnList = "store_id"),
|
||||||
|
@Index(name = "idx_analytics_last_analysis_date", columnList = "last_analysis_date"),
|
||||||
|
@Index(name = "idx_analytics_created_at", columnList = "created_at"),
|
||||||
|
@Index(name = "idx_analytics_average_rating", columnList = "average_rating")
|
||||||
|
})
|
||||||
@Getter
|
@Getter
|
||||||
@Builder
|
@Builder
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@ -56,8 +62,5 @@ public class AnalyticsEntity {
|
|||||||
@LastModifiedDate
|
@LastModifiedDate
|
||||||
@Column(name = "updated_at")
|
@Column(name = "updated_at")
|
||||||
private LocalDateTime updatedAt;
|
private LocalDateTime updatedAt;
|
||||||
|
|
||||||
@Index(name = "idx_analytics_store_id", columnList = "store_id")
|
|
||||||
public static class Indexes {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,7 @@ spring:
|
|||||||
|
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: ${JPA_DDL_AUTO:validate}
|
ddl-auto: ${JPA_DDL_AUTO:create}
|
||||||
show-sql: ${JPA_SHOW_SQL:false}
|
show-sql: ${JPA_SHOW_SQL:false}
|
||||||
properties:
|
properties:
|
||||||
hibernate:
|
hibernate:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user