You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
1.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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('区域类型【234区】') 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('删除标志【默认-11删除-1正常】') INT(11)"`
EnableFlag int `json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)"`
}