You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.4 KiB
Go
27 lines
1.4 KiB
Go
// 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 TableNameGameTotalDate = "game_total_date"
|
|
|
|
// GameTotalDate mapped from table <game_total_date>
|
|
type GameTotalDate 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_ymd,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_ymd,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_ymd,priority:1;comment:链接id" json:"link_id"`
|
|
Ymd string `gorm:"column:ymd;type:varchar(10);not null;index:idx_link_id_game_id_project_id_ymd,priority:4;comment:日期" json:"ymd"`
|
|
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 GameTotalDate's table name
|
|
func (*GameTotalDate) TableName() string {
|
|
return TableNameGameTotalDate
|
|
}
|