Skip to content

Commit

Permalink
Feat(*): 변경하는 Entity에 Auto Increment 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
morenow98 committed Jul 29, 2024
1 parent d8748af commit 39bd271
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@

import jakarta.validation.constraints.NotBlank;

public record ReissueRequest(@NotBlank String refreshToken) {
public record ReissueRequest(
@NotBlank
String refreshToken
) {
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.jabiseo.auth.dto;

public record ReissueResponse(String accessToken) {

public record ReissueResponse(
String accessToken
) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class Certificate {

@Id
@Column(name = "certificate_id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class Exam {

@Id
@Column(name = "exam_id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

private String description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class Subject {

@Id
@Column(name = "subject_id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class Problem {

@Id
@Column(name = "problem_id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

private String description;
Expand Down

0 comments on commit 39bd271

Please sign in to comment.