new features
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
Reference in New Issue
Block a user