Add displayName to types.DbCard
This commit is contained in:
parent
4199603be3
commit
4fc2b5f5bd
|
@ -31,6 +31,9 @@ type DbCard struct {
|
|||
CreditLine uint64 `json:"credit_line" example:"500000"`
|
||||
LastDigits string `json:"last_digits" example:"1111"`
|
||||
CurrencyID uint `json:"currency_id" example:"1"`
|
||||
Currency DbCurrency `json:"currency"`
|
||||
// Purely UI things
|
||||
DisplayName string `json:"display_name" example:"CreditCard •4444"`
|
||||
}
|
||||
|
||||
type DbCategory struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user