// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" ) const TableNameMapZone = "map_zone" // MapZone mapped from table type MapZone struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Zoneid int32 `gorm:"column:zoneid" json:"zoneid"` // 区域位置ID Zonename string `gorm:"column:zonename" json:"zonename"` // 区域名称 X float64 `gorm:"column:x" json:"x"` // 区域所在地图位置的x坐标(相对坐标) Y float64 `gorm:"column:y" json:"y"` // 区域所在地图位置的y坐标(相对坐标) Mapid int64 `gorm:"column:mapid" json:"mapid"` // 所属地图id CreateAt time.Time `gorm:"->" json:"create_at" c:"-"` // 创建时间 UpdateAt time.Time `gorm:"->" json:"update_at" c:"-"` // 更新时间 } // TableName MapZone's table name func (*MapZone) TableName() string { return TableNameMapZone }