summaryrefslogtreecommitdiff
path: root/model/models_sqlite.go
blob: 892cdd7fc60019cb84dfe321e67a19156cbea2a3 (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       int64
	Name     string
	ParentID sql.NullInt64
	UserID   int64
}

type ConstExpense struct {
	ID          int64
	Description sql.NullString
	Expense     interface{}
	Months      int64
	Start       time.Time
	End         time.Time
	PrevID      sql.NullInt64
	UserID      int64
	CategoryID  int64
}

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

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