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 {
Id *int64 `json:"id"`
UserId *int64 `json:"user_id"`
Token string `json:"token"`
ExpiredAt time.Time `json:"expired_at"`
CreatedAt time.Time `json:"created_at"`
}