Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type Province ¶
type Province struct { ID uint `gorm:"primaryKey" json:"id"` Name string `gorm:"type:varchar(50);not null" json:"name"` Foundation string `gorm:"type:varchar(50)" json:"foundation"` Capital string `gorm:"type:varchar(50)" json:"capital"` Population uint `gorm:"type:int" json:"population"` Area float64 `gorm:"type:float" json:"area"` PhonePrefix string `gorm:"type:varchar(4)" json:"phone_prefix"` GovernmentSite string `gorm:"type:varchar(100)" json:"government_site"` Counties []county.County `json:"counties"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` }
Click to show internal directories.
Click to hide internal directories.