generated from dave/wails-template
Add go files from previous project
This commit is contained in:
32
types.go
Normal file
32
types.go
Normal 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
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user