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