diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2024-02-11 23:46:54 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2024-02-11 23:46:54 +0100 |
commit | c6f5e375dbd6fd17a5c162ecc3ad6b633452afef (patch) | |
tree | 3c0c26d26e3f49a4083e264861f07bca903d390c /model/models_mysql.go | |
parent | 934df3f098c33bcbb1493a420833817b80518020 (diff) | |
download | gosten-c6f5e375dbd6fd17a5c162ecc3ad6b633452afef.tar.gz gosten-c6f5e375dbd6fd17a5c162ecc3ad6b633452afef.tar.bz2 gosten-c6f5e375dbd6fd17a5c162ecc3ad6b633452afef.zip |
Include generated sql files
Diffstat (limited to 'model/models_mysql.go')
-rw-r--r-- | model/models_mysql.go | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/model/models_mysql.go b/model/models_mysql.go new file mode 100644 index 0000000..359e583 --- /dev/null +++ b/model/models_mysql.go @@ -0,0 +1,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 +} |