This commit is contained in:
2026-09-16 15:44:09 +09:00
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 Integer 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 Integer courseId;
private Long courseId;
@Column(name = "course_name", nullable = false)
private String courseName;