[FIX] IDの型を修正しました。

This commit is contained in:
s-choi
2026-09-17 14:16:19 +09:00
parent 80d83b96f4
commit cf31d03415

View File

@@ -24,12 +24,12 @@ public class QuestionEntity {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "secret_question_id") @Column(name = "secret_question_id")
private Integer secretQuestionId; private Long secretQuestionId;
@Column(name = "question_text", nullable = false) @Column(name = "question_text", nullable = false)
private String questionText; private String questionText;
@OneToMany(mappedBy = "QuestionEntity") @OneToMany(mappedBy = "questionEntity")
private List<UserEntity> userEntity; private List<UserEntity> userEntity;
} }