zhangqian
2023-08-02 6e9274c27ffc8fe7f41e2c3c06a239d4c3fb09e5
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
    }
)