@@ -0,0 +1,15 @@
|
||||
package domain
|
||||
|
||||
import "time"
|
||||
|
||||
type Account struct {
|
||||
ID string `db:"id" json:"id"`
|
||||
UserID string `db:"user_id" json:"user_id"`
|
||||
Mode string `db:"mode" json:"mode"`
|
||||
Name string `db:"name" json:"name"`
|
||||
Currency string `db:"currency" json:"currency"`
|
||||
LedgerStatus string `db:"ledger_status" json:"ledger_status"`
|
||||
CreatedAt time.Time `db:"created_at" json:"created_at"`
|
||||
}
|
||||
|
||||
func (Account) TableName() string { return "veyra_account" }
|
||||
Reference in New Issue
Block a user