package models type TGovArea struct { AreaCode string `xorm:"not null pk comment('行政区划代码') CHAR(6)"` AreaName string `xorm:"not null default '''' comment('行政区划名称') VARCHAR(128)"` MasterCode string `xorm:"not null default '''' comment('上级行政区划代码') CHAR(6)"` AreaLevelId int32 `xorm:"not null comment('行政区划级别 例:省、市、区') INT(11)"` AreaTypeId int32 `xorm:"not null comment('行政区划类型 0:无 1:县市区 2:开发区') INT(11)"` BUse int32 `xorm:"not null default 1 comment('是否启用') TINYINT(11)"` }