mirror of
https://github.com/LeRoid-hub/Bookholder-API.git
synced 2025-01-31 02:34:57 +00:00
26 lines
371 B
Go
26 lines
371 B
Go
package database
|
|
|
|
import "time"
|
|
|
|
type Account struct {
|
|
ID uint
|
|
Name string
|
|
Kind string
|
|
}
|
|
|
|
type Transaction struct {
|
|
ID uint
|
|
Amount float32
|
|
Debit bool
|
|
OffsetAccount uint
|
|
Account uint
|
|
Date time.Time
|
|
Description string
|
|
}
|
|
|
|
type User struct {
|
|
ID string
|
|
Name string
|
|
Password string
|
|
}
|