From 8be5f93f5b2d4b6f438ca84094937a0f7101c59b Mon Sep 17 00:00:00 2001 From: T Date: Sat, 2 Aug 2025 17:25:59 -0600 Subject: Initial commit of punchcard. Contains working time tracking commands, and the stub of a command to generate reports. --- internal/queries/models.go | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 internal/queries/models.go (limited to 'internal/queries/models.go') 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 +} -- cgit v1.2.3