feat: pay bills
This commit is contained in:
parent
d747454f4a
commit
8c681282ef
15 changed files with 607 additions and 65 deletions
|
|
@ -23,14 +23,15 @@ const (
|
|||
)
|
||||
|
||||
type Transaction struct {
|
||||
ID string `db:"id"`
|
||||
Value decimal.Decimal `db:"value"`
|
||||
Type TransactionType `db:"type"`
|
||||
AccountID string `db:"account_id"`
|
||||
Description *string `db:"description"`
|
||||
RelatedTransactionID *string `db:"related_transaction_id"`
|
||||
CreatedAt time.Time `db:"created_at"`
|
||||
UpdatedAt time.Time `db:"updated_at"`
|
||||
ID string `db:"id"`
|
||||
Value decimal.Decimal `db:"value"`
|
||||
Type TransactionType `db:"type"`
|
||||
AccountID string `db:"account_id"`
|
||||
Title string `db:"title"`
|
||||
Description *string `db:"description"`
|
||||
OccurredAt time.Time `db:"occurred_at"`
|
||||
CreatedAt time.Time `db:"created_at"`
|
||||
UpdatedAt time.Time `db:"updated_at"`
|
||||
}
|
||||
|
||||
type Tag struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue