| 19 | import java.util.Map; |
| 20 | |
| 21 | @Data |
| 22 | @Entity |
| 23 | @Builder |
| 24 | @NoArgsConstructor |
| 25 | @AllArgsConstructor |
| 26 | @Table(name = "interview_records") |
| 27 | public class InterviewRecord { |
| 28 | |
| 29 | @Id |
| 30 | @GeneratedValue(strategy = GenerationType.IDENTITY) |
| 31 | private Long id; |
| 32 | |
| 33 | @Column(name = "position_id") |
| 34 | private Long positionId; |
| 35 | |
| 36 | @Column(name = "user_id", nullable = false) |
| 37 | private Long userId; |
| 38 | |
| 39 | @Column(length = 20) |
| 40 | private String difficulty; |
| 41 | |
| 42 | @Column(name = "question_type", length = 20) |
| 43 | private String questionType; |
| 44 | |
| 45 | @JdbcTypeCode(SqlTypes.JSON) |
| 46 | @Column(columnDefinition = "jsonb") |
| 47 | private List<Map<String, Object>> questions; |
| 48 | |
| 49 | @Column(name = "created_at") |
| 50 | private LocalDateTime createdAt; |
| 51 | } |
nothing calls this directly
no outgoing calls
no test coverage detected