feat: add list of currencies

This commit is contained in:
2026-04-17 15:12:41 +02:00
parent ec44200332
commit 93a7dd1718
10 changed files with 102 additions and 35 deletions

View File

@@ -7,7 +7,7 @@ type Currency struct {
PsIDCurrency uint `json:"ps_id_currency"`
IsDefault bool `json:"is_default"`
IsActive bool `json:"is_active"`
ConversionRate *float64 `json:"conversion_rate,omitempty"`
ConversionRate *float64 `json:"conversion_rate,omitempty" gorm:"column:conversion_rate"`
}
func (Currency) TableName() string {