Skip to content

Commit

Permalink
Merge pull request #48 from Tico-Corp/feature-be/TICO-214-add-device-…
Browse files Browse the repository at this point in the history
…id-column

[FEAT] 기기고유번호 컬럼을 Refresh 엔티티에 추가 (TICO-214)
  • Loading branch information
bu119 authored Jul 25, 2024
2 parents a0a30a8 + 8167125 commit 88e9048
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,21 @@ public class Refresh {
private Long id;

private String username;

@Column(name = "refresh_token")
private String refreshToken;

private String expiration;

@Column(name = "device_id")
private String deviceId;

// 생성자
@Builder
public Refresh (String username, String refreshToken, String expiration){
public Refresh(String username, String refreshToken, String expiration, String deviceId) {
this.username = username;
this.refreshToken = refreshToken;
this.expiration = expiration;
this.deviceId = deviceId;
}
}

0 comments on commit 88e9048

Please sign in to comment.