mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-07 18:50:26 +08:00
25 lines
683 B
Go
25 lines
683 B
Go
package regions
|
|
|
|
//
|
|
type RegionCity struct {
|
|
Id uint32 `field:"id"` // ID
|
|
ProvinceId uint32 `field:"provinceId"` // 省份ID
|
|
Name string `field:"name"` // 名称
|
|
Codes string `field:"codes"` // 代号
|
|
State uint8 `field:"state"` // 状态
|
|
DataId string `field:"dataId"` // 原始数据ID
|
|
}
|
|
|
|
type RegionCityOperator struct {
|
|
Id interface{} // ID
|
|
ProvinceId interface{} // 省份ID
|
|
Name interface{} // 名称
|
|
Codes interface{} // 代号
|
|
State interface{} // 状态
|
|
DataId interface{} // 原始数据ID
|
|
}
|
|
|
|
func NewRegionCityOperator() *RegionCityOperator {
|
|
return &RegionCityOperator{}
|
|
}
|