// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package base import ( "dashoo.cn/opms_libary/request" "dashoo.cn/micro/app/model/base/internal" ) // BaseDistrict is the golang structure for table base_district. type BaseDistrict internal.BaseDistrict // Fill with you ideas below. type BaseDistrictSearchReq struct { Id int `json:"id"` // 省份ID request.PageReq } //Provinces 省市区三级结构 type ProvincesTree struct { Id int `json:"id"` ParentId int `json:"parentId"` DistName string `json:"distName" ` Children []*ProvincesTree `json:"children"` } type Province struct { Id int `json:"id"` ParentId int `json:"parentId"` DistName string `json:"distName" ` } type Region struct { Id int `json:"id"` RegionDesc string `json:"regionDesc" ` Children []*District `json:"children" ` } type District struct { RegionDesc string `json:"regionDesc" ` RegionId int `json:"RegionId" ` Id int `json:"id" ` }