// 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 TableNameGameTotal = "game_total" // GameTotal mapped from table type GameTotal struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_link_id_game_id_project_id,priority:3;comment:项目id" json:"project_id"` GameID int64 `gorm:"column:game_id;type:bigint;not null;index:idx_link_id_game_id_project_id,priority:2;comment:游戏id" json:"game_id"` LinkID int64 `gorm:"column:link_id;type:bigint;not null;index:idx_link_id_game_id_project_id,priority:1;comment:链接id" json:"link_id"` Pv int64 `gorm:"column:pv;type:bigint;not null" json:"pv"` Uv int64 `gorm:"column:uv;type:bigint;not null" json:"uv"` Psec int64 `gorm:"column:psec;type:bigint;not null" json:"psec"` } // TableName GameTotal's table name func (*GameTotal) TableName() string { return TableNameGameTotal }