2024-09-15 20:00:08 +08:00

32 lines
551 B
Go

package gonganxitong
import "shylinux.com/x/ice"
type place struct{ Table }
func init() { ice.TeamCtxCmd(place{}) }
type PlaceType int
const (
PlaceHouse PlaceType = iota
PlaceStore
PlaceOffice
PlaceSchool
PlacePublic
PlaceFactory
PlaceHospital
)
var PlaceTypeList = map[PlaceType]string{
PlaceHouse: "house",
PlaceStore: "store",
PlaceOffice: "office",
PlaceSchool: "school",
PlacePublic: "public",
PlaceFactory: "factory",
PlaceHospital: "hospital",
}
func (s PlaceType) String() string { return PlaceTypeList[s] }