summaryrefslogtreecommitdiff
blob: b83da067301dd3f34ba30455337da188ac3fe197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package models

import (
	"glsamaker/pkg/models/users"
	"time"
)

type Session struct {
	Id                  string `pg:",pk"`
	UserId              int64
	User                *users.User
	SecondFactorMissing bool
	IP                  string
	Expires             time.Time
}