[FIX] IDの型を修正しました。
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user