summaryrefslogtreecommitdiff
path: root/model/models_mysql.go
blob: 359e5838d4794420c92bfe01cec0308dcff80da6 (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
48
49
//go:build !sqlite

// 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      int32
	Start       time.Time
	End         time.Time
	PrevID      sql.NullInt32
	UserID      int32
	CategoryID  int32
}

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

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