PersonalMain-Golang/internal/model/do/tokenDO.go

14 lines
245 B
Go
Raw Normal View History

2023-12-25 02:15:59 +08:00
package do
import (
"time"
)
type TokenDO struct {
2023-12-27 01:48:24 +08:00
Id *uint64 `json:"id"`
UserId *uint64 `json:"user_id"`
2023-12-25 02:15:59 +08:00
Token string `json:"token"`
ExpiredAt time.Time `json:"expired_at"`
CreatedAt time.Time `json:"created_at"`
}