package ext

type DFA struct {
	Link map[string]interface{}
}

//定义字典树
type Trie struct {
	y bool
	c map[rune]*Trie
}


//省
type Province struct {
	Name    string
	Brief   string
	Cap     string
	Captial *City
}

//市
type City struct {
	Name  string
	Brief string
	P     *Province
}

//区或县
type District struct {
	Name string
	C    *City
}

//街道
type Street struct {
	Name string
	D    *District
}

//村、社区、居委会
type Community struct {
	Name string
	S    *Street
}

//区或县简称对应的全称和市信息
type DistrictSimFull struct {
	SimName  string
	FullName string
	C        *City
}

//邮编
type PostCode struct {
	Code string
	P    string
	C    string
	D    []string
}

//区号
type AreaCode struct {
	Code string
	P    string
	C    []string
}

type SiteCity struct {
	P string //省简称
	C string //市全称
	D string //区全称
}