core/database/entities/auth_token.go
2024-05-10 13:17:18 +07:00

9 lines
192 B
Go

package entities
type AuthToken struct {
UserID int32
AccessToken string `bun:"type:varchar"`
RefreshToken string `bun:"type:varchar"`
IsRevoked bool `bun:",default:false"`
}