[EDIT] Category, CourseEntityのIDの型をlong⇒Longに変更

This commit is contained in:
kkazuya
2026-09-16 15:03:18 +09:00
parent c41bcd1791
commit 9710b52d8d
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ public class CategoryEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "category_id")
private long categoryId;
private Long categoryId;
@Column(name = "category_name", nullable = false)
private String categoryName;

View File

@@ -26,7 +26,7 @@ public class CourseEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "course_id")
private long courseId;
private Long courseId;
@Column(name = "course_name", nullable = false)
private String courseName;