36 lines
485 B
Go
36 lines
485 B
Go
|
// Code generated by sqlc. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// sqlc v1.20.0
|
||
|
|
||
|
package queries
|
||
|
|
||
|
import (
|
||
|
"database/sql"
|
||
|
|
||
|
"github.com/google/uuid"
|
||
|
)
|
||
|
|
||
|
type File struct {
|
||
|
ID uuid.UUID
|
||
|
UserID int64
|
||
|
Filename string
|
||
|
ContentType string
|
||
|
Hash string
|
||
|
Size int64
|
||
|
CreatedAt int64
|
||
|
Expires sql.NullInt64
|
||
|
}
|
||
|
|
||
|
type Token struct {
|
||
|
ID int64
|
||
|
UserID int64
|
||
|
Token string
|
||
|
}
|
||
|
|
||
|
type User struct {
|
||
|
ID int64
|
||
|
Username string
|
||
|
Password string
|
||
|
IsAdmin bool
|
||
|
}
|