package models import ( "time" ) type TDataexGbt2260 struct { Id string `json:"id" xorm:"not null comment('区域ID') VARCHAR(36)"` AreaName string `json:"area_name" xorm:"not null comment('区域名称') VARCHAR(255)"` AreaCode string `json:"area_code" xorm:"not null pk comment('区域编码【国标】') VARCHAR(255)"` AreaType int `json:"area_type" xorm:"not null comment('区域类型【2:省,3:市,4:区】') INT(11)"` AreaType2 int `json:"area_type2" xorm:"default NULL comment('类型2【1:行政区,2:开发区】') INT(11)"` ParentId string `json:"parent_id" xorm:"not null comment('父亲节点ID') VARCHAR(36)"` ShortName string `json:"short_name" xorm:"default 'NULL' comment('区域简称') VARCHAR(255)"` CreateTime time.Time `json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME"` ChangeTime time.Time `json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME"` DeleteTime time.Time `json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME"` DeleteFlag int `json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-1,1:删除,-1:正常】') INT(11)"` EnableFlag int `json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认1,1:启用,-1:禁用】') INT(11)"` }