update openapi

This commit is contained in:
2026-03-24 13:09:12 +01:00
parent 0f21ed1f81
commit 62aaa23164
4 changed files with 91 additions and 9 deletions

View File

@@ -9,3 +9,16 @@ type Country struct {
CurrencyISOCode string `gorm:"column:iso_code" json:"currency_iso_code"`
CurrencyName string `gorm:"column:name" json:"currency_name"`
}
func (Country) TableName() string {
return "b2b_countries"
}
type PSCountry struct {
ID uint `gorm:"primaryKey;column:id_country" json:"id"`
CurrencyID uint `gorm:"column:id_currency" json:"currency_id"`
}
func (PSCountry) TableName() string {
return "ps_country"
}