// 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 TableNameChangedSync = "changed_sync" // ChangedSync mapped from table type ChangedSync struct { ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"` Type int64 `gorm:"column:type;type:bigint(20);not null" json:"type"` // 类型,1:累计统计钻石;2:累计统计金币;99:玩家统计 ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID LastID int64 `gorm:"column:last_id;type:bigint(20);not null" json:"last_id"` // 最后同步ID LastSyncTime time.Time `gorm:"column:last_sync_time;type:datetime;not null" json:"last_sync_time"` // 最后同步时间 UpdatedAt time.Time `gorm:"column:updated_at;type:datetime;not null" json:"updated_at"` // 更新时间 } // TableName ChangedSync's table name func (*ChangedSync) TableName() string { return TableNameChangedSync }