-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SCRUM-48 feat: TokenBlackList 클래스 작성
- Loading branch information
1 parent
ee57f64
commit bec4068
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 18 additions & 1 deletion
19
src/main/java/com/kakaoteck/golagola/security/token/TokenBlackList.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,21 @@ | ||
package com.kakaoteck.golagola.security.token; | ||
|
||
import jakarta.persistence.*; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@Entity | ||
@Table(name = "token_blacklist") | ||
public class TokenBlackList { | ||
} | ||
@Id | ||
@GeneratedValue(strategy = GenerationType.IDENTITY) | ||
private Long id; | ||
|
||
@Column(unique = true) | ||
private String token; | ||
|
||
} |