fix(region):基本确定行政区划部分功能,明确模型扫描功能的使用。

This commit is contained in:
徐涛
2023-06-02 06:18:34 +08:00
parent bca0fd777d
commit e5b5322e0d
3 changed files with 49 additions and 0 deletions

8
model/region.go Normal file
View File

@@ -0,0 +1,8 @@
package model
type Region struct {
Code string `json:"code"`
Name string `json:"name"`
Level int32 `json:"level"`
Parent string `json:"parent"`
}