aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/database/sqlc/models.go
blob: b7dfc195513c3a71485a5491c5710d864fcc2f5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Code generated by sqlc. DO NOT EDIT.
// versions:
//   sqlc v1.29.0

package sqlc

import (
	"github.com/jackc/pgx/v5/pgtype"
)

type Calendar struct {
	ID     int32  `json:"id"`
	UserID int32  `json:"user_id"`
	Name   string `json:"name"`
	Key    string `json:"key"`
}

type Conference struct {
	ID    int32       `json:"id"`
	Url   string      `json:"url"`
	Title pgtype.Text `json:"title"`
	Venue pgtype.Text `json:"venue"`
	City  pgtype.Text `json:"city"`
}

type Favourite struct {
	ID           int32       `json:"id"`
	UserID       int32       `json:"user_id"`
	EventGuid    pgtype.UUID `json:"event_guid"`
	EventID      pgtype.Int4 `json:"event_id"`
	ConferenceID int32       `json:"conference_id"`
}

type User struct {
	ID       int32       `json:"id"`
	Username string      `json:"username"`
	Password pgtype.Text `json:"password"`
	Admin    bool        `json:"admin"`
}