github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_area.go (about)

     1  package sys_model
     2  
     3  import "github.com/kysion/base-library/base_model"
     4  
     5  type Area struct {
     6  	Id            int64  `json:"id"            description:"ID"`
     7  	AreaCode      int    `json:"areaCode"      description:"地区编码"`
     8  	AreaName      string `json:"areaName"      description:"地区名称"`
     9  	Level         int    `json:"level"         description:"1区县district、2市city、4省份province、8大区region、16全国nation"`
    10  	LatLongCenter string `json:"latLongCenter" description:"城市中心点(即经纬度)"`
    11  	ParentId      int64  `json:"parentId"      description:"地区父节点"`
    12  }
    13  
    14  type AreaListRes base_model.CollectRes[*Area]