Add displayName to types.DbCard

This commit is contained in:
qowevisa 2024-11-24 00:26:33 +02:00
parent 4199603be3
commit 4fc2b5f5bd

View File

@ -31,6 +31,9 @@ type DbCard struct {
CreditLine uint64 `json:"credit_line" example:"500000"` CreditLine uint64 `json:"credit_line" example:"500000"`
LastDigits string `json:"last_digits" example:"1111"` LastDigits string `json:"last_digits" example:"1111"`
CurrencyID uint `json:"currency_id" example:"1"` 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 { type DbCategory struct {