generated from dave/wails-template
33 lines
453 B
Go
33 lines
453 B
Go
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
|
|
}
|
|
)
|