Skip to content

Commit

Permalink
#87 fix: Library 대체키 수정
Browse files Browse the repository at this point in the history
id -> Long 타입
token -> String 타입
  • Loading branch information
rivkode committed Jun 10, 2024
1 parent 991defe commit a91a556
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
public class PublicLibrary {
@Id
@Column(name = "library_id")
private String id;
private Long id;

@Column(name = "public_library")
private String publicLibraryToken;

@Column(name = "name")
private String name;
Expand All @@ -41,7 +44,8 @@ public class PublicLibrary {

@Builder
public PublicLibrary(
String id,
Long id,
String publicLibraryToken,
String name,
String address,
String telNumber,
Expand All @@ -51,6 +55,7 @@ public PublicLibrary(
Point location
) {
this.id = id;
this.publicLibraryToken = publicLibraryToken;
this.name = name;
this.address = address;
this.telNumber = telNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
public class SmallLibrary {
@Id
@Column(name = "library_id")
private String id;
private Long id;

private String smallLibraryToken;

private String name;

Expand All @@ -36,7 +38,8 @@ public class SmallLibrary {

@Builder
public SmallLibrary(
String id,
Long id,
String smallLibraryToken,
String name,
String address,
String telNumber,
Expand All @@ -46,6 +49,7 @@ public SmallLibrary(
Point location
) {
this.id = id;
this.smallLibraryToken = smallLibraryToken;
this.name = name;
this.address = address;
this.telNumber = telNumber;
Expand Down

0 comments on commit a91a556

Please sign in to comment.