diff options
author | T <t@tjp.lol> | 2025-08-02 17:25:59 -0600 |
---|---|---|
committer | T <t@tjp.lol> | 2025-08-04 09:34:14 -0600 |
commit | 8be5f93f5b2d4b6f438ca84094937a0f7101c59b (patch) | |
tree | 3cedb6379818a28179e269477c12ae06dd57ca36 /internal/queries/models.go |
Initial commit of punchcard.
Contains working time tracking commands, and the stub of a command to
generate reports.
Diffstat (limited to 'internal/queries/models.go')
-rw-r--r-- | internal/queries/models.go | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/internal/queries/models.go b/internal/queries/models.go new file mode 100644 index 0000000..1257397 --- /dev/null +++ b/internal/queries/models.go @@ -0,0 +1,36 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.29.0 + +package queries + +import ( + "database/sql" + "time" +) + +type Client struct { + ID int64 + Name string + Email sql.NullString + BillableRate sql.NullInt64 + CreatedAt sql.NullTime +} + +type Project struct { + ID int64 + Name string + ClientID int64 + BillableRate sql.NullInt64 + 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 +} |