summaryrefslogtreecommitdiff
path: root/internal/queries/models.go
blob: 5db918e68978c5856c376d3d72809d77842ec2de (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
50
51
52
53
54
55
56
// Code generated by sqlc. DO NOT EDIT.
// versions:
//   sqlc v1.30.0

package queries

import (
	"database/sql"
	"time"
)

type Client struct {
	ID           int64
	Name         string
	Email        sql.NullString
	BillableRate sql.NullInt64
	Archived     int64
	CreatedAt    sql.NullTime
}

type Contractor struct {
	ID        int64
	Name      string
	Label     string
	Email     string
	CreatedAt sql.NullTime
}

type Invoice struct {
	ID          int64
	Year        int64
	Month       int64
	Number      int64
	ClientID    int64
	TotalAmount int64
	CreatedAt   sql.NullTime
}

type Project struct {
	ID           int64
	Name         string
	ClientID     int64
	BillableRate sql.NullInt64
	Archived     int64
	CreatedAt    sql.NullTime
}

type TimeEntry struct {
	ID           int64
	StartTime    time.Time
	EndTime      sql.NullTime
	Description  sql.NullString
	ClientID     int64
	ProjectID    sql.NullInt64
	BillableRate sql.NullInt64
}