2019-03-08 22:15:38 +08:00
|
|
|
package dtos
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type UserToken struct {
|
2019-06-11 20:12:52 +08:00
|
|
|
Id int64 `json:"id"`
|
|
|
|
|
IsActive bool `json:"isActive"`
|
|
|
|
|
ClientIp string `json:"clientIp"`
|
|
|
|
|
Device string `json:"device"`
|
|
|
|
|
OperatingSystem string `json:"os"`
|
|
|
|
|
OperatingSystemVersion string `json:"osVersion"`
|
|
|
|
|
Browser string `json:"browser"`
|
|
|
|
|
BrowserVersion string `json:"browserVersion"`
|
|
|
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
|
|
|
SeenAt time.Time `json:"seenAt"`
|
2019-03-08 22:15:38 +08:00
|
|
|
}
|