@@ -52,6 +52,11 @@ public class SessionFeedback extends BaseSoftDeleteEntity {
5252 @ Column (name = "improvement_keywords" , columnDefinition = "jsonb" )
5353 private String improvementKeywords ;
5454
55+ // 멀티 면접관 패널의 평가위원별 분해 JSON. null = 단일/레거시.
56+ @ JdbcTypeCode (SqlTypes .JSON )
57+ @ Column (name = "panel_breakdown" , columnDefinition = "jsonb" )
58+ private String panelBreakdown ;
59+
5560 @ Column (name = "report_file_path" , length = 1000 )
5661 private String reportFilePath ;
5762
@@ -62,7 +67,8 @@ public class SessionFeedback extends BaseSoftDeleteEntity {
6267 private SessionFeedback (InterviewSession session , Double overallScore , Double technicalAccuracy ,
6368 Double logicScore , Double communicationScore ,
6469 String strengthsSummary , String weaknessesSummary ,
65- String improvementKeywordsJson , String reportFilePath ) {
70+ String improvementKeywordsJson , String panelBreakdownJson ,
71+ String reportFilePath ) {
6672 if (session == null ) {
6773 throw new IllegalArgumentException ("session must not be null" );
6874 }
@@ -74,17 +80,19 @@ private SessionFeedback(InterviewSession session, Double overallScore, Double te
7480 this .strengthsSummary = strengthsSummary ;
7581 this .weaknessesSummary = weaknessesSummary ;
7682 this .improvementKeywords = improvementKeywordsJson ;
83+ this .panelBreakdown = panelBreakdownJson ;
7784 this .reportFilePath = reportFilePath ;
7885 }
7986
8087 public static SessionFeedback of (InterviewSession session , Double overallScore ,
8188 Double technicalAccuracy , Double logicScore ,
8289 Double communicationScore ,
8390 String strengthsSummary , String weaknessesSummary ,
84- String improvementKeywordsJson , String reportFilePath ) {
91+ String improvementKeywordsJson , String panelBreakdownJson ,
92+ String reportFilePath ) {
8593 return new SessionFeedback (session , overallScore , technicalAccuracy , logicScore ,
8694 communicationScore , strengthsSummary , weaknessesSummary ,
87- improvementKeywordsJson , reportFilePath );
95+ improvementKeywordsJson , panelBreakdownJson , reportFilePath );
8896 }
8997
9098 // 공유 토큰을 보장(없으면 발급)하고 현재 토큰 반환. 멱등.
0 commit comments