new features

This commit is contained in:
Ivan Rezchikov
2026-05-04 11:14:30 +03:00
parent 77d429c8ba
commit 5752d5b2b4
32 changed files with 1530 additions and 217 deletions
@@ -0,0 +1,19 @@
package models
type Region struct {
ID uuid.UUID `db:"id" json:"id"`
Code string `db:"code" json:"code"`
CreatedAt time.Time `db:"created_at" json:"created_at"`
}
type RegionTranslation struct {
RegionID uuid.UUID `db:"region_id" json:"region_id"`
Locale string `db:"locale" json:"locale"`
Name string `db:"name" json:"name"`
}
type RegionLocalized struct {
ID uuid.UUID `json:"id"`
Code string `json:"code"`
Name string `json:"name"`
}