Bookholder-API/database/models.go

21 lines
272 B
Go
Raw Normal View History

package database
type Account struct {
Number int
Name string
Kind string
}
type Transaction struct {
Amount float32
Debit bool
OffsetAccount int
Account int
Description string
}
type User struct {
Name string
Password string
}