liujiandao
2024-01-11 40e540f8ca398fee68f4520dbebd6db6fe2e164c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package model
 
type (
    Address struct {
        CountryId  int `json:"country_id" gorm:"column:country_id;type:int(11);comment:国家ID"`
        Country    Country
        ProvinceId int `json:"province_id" gorm:"column:province_id;type:int(11);comment:省份ID"`
        Province   Province
        CityId     int `json:"city_id" gorm:"column:city_id;type:int(11);comment:城市ID"`
        City       City
        RegionId   int `json:"region_id" gorm:"column:region_id;type:int(11);comment:区域ID"`
        Region     Region
    }
)