Files
isp-admin-service/entity/token.go
T

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
}