tijl.dev-core/modules/database/models.go

41 lines
684 B
Go
Raw Normal View History

2024-08-21 01:08:47 +02:00
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.27.0
2024-08-21 15:43:24 +02:00
package database
2024-08-21 01:08:47 +02:00
import (
"database/sql"
"time"
"github.com/sqlc-dev/pqtype"
)
type Session struct {
ID int32
UserID int32
Title sql.NullString
Token string
Password sql.NullString
LastActivity sql.NullTime
Expires sql.NullTime
CreatedAt time.Time
}
type SessionIp struct {
ID int32
SessionID int32
IpAddress pqtype.Inet
AccessTime sql.NullTime
}
type User struct {
ID int32
Uid string
Email sql.NullString
FullName sql.NullString
Displayname sql.NullString
CreatedAt time.Time
UpdatedAt sql.NullTime
}