summaryrefslogtreecommitdiff
path: root/model/models.go
blob: be09076062e1c026773f25a6f7c84ecbf8d895f2 (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
40
41
42
43
44
45
46
47
// Code generated by sqlc. DO NOT EDIT.
// versions:
//   sqlc v1.25.0

package model

import (
	"database/sql"
	"time"
)

type Category struct {
	ID       int32
	Name     string
	ParentID sql.NullInt32
	UserID   int32
}

type ConstExpense struct {
	ID          int32
	Description sql.NullString
	Expense     string
	Months      uint8
	Start       time.Time
	End         time.Time
	PrevID      sql.NullInt32
	CategoryID  int32
	UserID      int32
}

type SingleExpense struct {
	ID          int32
	Description sql.NullString
	Expense     string
	Year        uint16
	Month       uint8
	Day         uint8
	CategoryID  int32
	UserID      int32
}

type User struct {
	ID          int32
	Name        string
	Pwd         string
	Description sql.NullString
}