aboutsummaryrefslogtreecommitdiff
path: root/api/internal/models/auth.go
blob: fa7dbe4d17ae06c1f74ce439271a5d66b1c7be4e (plain)
1
2
3
4
5
6
7
8
9
10
11
package models

import "time"

type Token struct {
	ID        int64     `json:"id"`
	UserID    int64     `json:"user_id"`
	Token     string    `json:"token"`
	CreatedAt time.Time `json:"created_at"`
	ExpiredAt time.Time `json:"expired_at"`
}