// 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 TableNameMapInfo = "map_info" // MapInfo mapped from table type MapInfo struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Stageid string `gorm:"column:stageid" json:"stageid"` // 场景id Index int32 `gorm:"column:index" json:"index"` // 是否首页 0-不是 1-是 Maptype int32 `gorm:"column:maptype" json:"maptype"` // 地图类型 1:网络拓扑图 2:三维图 Stationid int64 `gorm:"column:stationid" json:"stationid,string"` // 变电站id Appid int64 `gorm:"column:appid" json:"appid,string"` // 地图所属app id CreateAt time.Time `gorm:"->" json:"create_at" c:"-"` // 创建时间 UpdateAt time.Time `gorm:"->" json:"update_at" c:"-"` // 更新时间 } // TableName MapInfo's table name func (*MapInfo) TableName() string { return TableNameMapInfo }