// 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 const TableNameOnlineNumsLog = "online_nums_logs" // OnlineNumsLog mapped from table type OnlineNumsLog struct { ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"` Stamp int32 `gorm:"column:stamp;type:int(11) unsigned;not null;index:stamp,priority:1" json:"stamp"` Nums int32 `gorm:"column:nums;type:int(11) unsigned;not null" json:"nums"` // 在线人数 ServerID int32 `gorm:"column:server_id;type:int(11) unsigned;not null" json:"server_id"` // 服务器id } // TableName OnlineNumsLog's table name func (*OnlineNumsLog) TableName() string { return TableNameOnlineNumsLog }