Add go files from previous project

This commit is contained in:
2024-08-19 10:23:12 +02:00
parent f4d29aabbd
commit 5e94f44e27
7 changed files with 401 additions and 2 deletions

32
types.go Normal file
View File

@@ -0,0 +1,32 @@
package main
import "time"
type (
Bill struct {
Id int64
Name string
}
Payment struct {
Id int64
BillId int64
MonthFor time.Time
PaymentDate time.Time
}
WailsBills struct {
Data []Bill
Success bool
Error string
}
WailsPayments struct {
Data []Payment
Success bool
Error string
}
WailsPayment struct {
Data Payment
Success bool
Error string
}
)