aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/database/sqlc/models.go
blob: 57fd08264f837585db315f2777c7ef7d960484e3 (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
// 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 Favourite struct {
	ID        int32       `json:"id"`
	UserID    int32       `json:"user_id"`
	EventGuid pgtype.UUID `json:"event_guid"`
	EventID   pgtype.Int4 `json:"event_id"`
}

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