2024-07-15 10:12:53 -04:00
|
|
|
// Code generated by sqlc. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// sqlc v1.26.0
|
|
|
|
|
|
|
|
package database
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/jackc/pgx/v5/pgtype"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Apikey struct {
|
|
|
|
ID int32
|
|
|
|
Owner pgtype.Int4
|
2024-07-15 19:03:48 -04:00
|
|
|
ApiKey string
|
2024-07-15 10:12:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
type Call struct {
|
2024-07-15 19:03:48 -04:00
|
|
|
ID pgtype.UUID
|
|
|
|
Submitter int32
|
|
|
|
System int32
|
|
|
|
Talkgroup int32
|
|
|
|
Date pgtype.Timestamp
|
|
|
|
AudioName pgtype.Text
|
|
|
|
AudioBlob []byte
|
|
|
|
AudioType pgtype.Text
|
|
|
|
AudioUrl pgtype.Text
|
|
|
|
Frequency pgtype.Int4
|
|
|
|
Frequencies []byte
|
|
|
|
Patches []byte
|
|
|
|
TgLabel pgtype.Text
|
|
|
|
Source pgtype.Text
|
|
|
|
}
|
|
|
|
|
|
|
|
type Setting struct {
|
|
|
|
Name string
|
|
|
|
UpdatedBy pgtype.Int4
|
|
|
|
Value []byte
|
|
|
|
}
|
|
|
|
|
|
|
|
type System struct {
|
|
|
|
ID int32
|
|
|
|
Name string
|
|
|
|
}
|
|
|
|
|
|
|
|
type Talkgroup struct {
|
|
|
|
ID int32
|
|
|
|
System int32
|
|
|
|
Name pgtype.Text
|
|
|
|
Frequency pgtype.Int4
|
|
|
|
GroupID pgtype.Int4
|
2024-07-15 10:12:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
type User struct {
|
|
|
|
ID int32
|
|
|
|
Username string
|
|
|
|
Password string
|
|
|
|
Email string
|
|
|
|
IsAdmin pgtype.Bool
|
|
|
|
Prefs []byte
|
|
|
|
}
|