mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-12-16 16:14:36 -05:00
Initial commit
This commit is contained in:
21
accounts.go
Normal file
21
accounts.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package main
|
||||
|
||||
type AccountType int64
|
||||
|
||||
const (
|
||||
Bank AccountType = 1
|
||||
Cash = 2
|
||||
Asset = 3
|
||||
Liability = 4
|
||||
Investment = 5
|
||||
Income = 6
|
||||
Expense = 7
|
||||
)
|
||||
|
||||
type Account struct {
|
||||
AccountId int64
|
||||
UserId int64
|
||||
SecurityId int64
|
||||
Type AccountType
|
||||
Name string
|
||||
}
|
||||
Reference in New Issue
Block a user