Files
2023-03-27 10:30:42 +03:00

22 lines
296 B
Go

package entity
import (
"time"
)
const (
TokenStatusAllowed = "ALLOWED"
TokenStatusRevoked = "REVOKED"
TokenStatusExpired = "EXPIRED"
)
type Token struct {
Id int
Token string
UserId int64
Status string
ExpiredAt time.Time
CreatedAt time.Time
UpdatedAt time.Time
}