41 lines
678 B
Go
41 lines
678 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.27.0
|
|
|
|
package db
|
|
|
|
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
|
|
}
|