// 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 TableNameGameAction = "game_action" // GameAction mapped from table type GameAction struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_project_id_game_id_type_action_time,priority:1;comment:项目id" json:"project_id"` GameID int64 `gorm:"column:game_id;type:bigint;not null;index:idx_project_id_game_id_type_action_time,priority:2;comment:游戏id" json:"game_id"` UserID int64 `gorm:"column:user_id;type:bigint;not null;index:idx_user_id_type_action_time,priority:1;comment:用户id" json:"user_id"` LinkID int64 `gorm:"column:link_id;type:bigint;not null;index:idx_link_id_user_id_type,priority:1;comment:链接id" json:"link_id"` Type int32 `gorm:"column:type;type:int;not null;index:idx_user_id_type_action_time,priority:2;comment:用户行为类型" json:"type"` ActionTime int64 `gorm:"column:action_time;type:bigint;not null;index:idx_user_id_type_action_time,priority:3;comment:用户行为时间" json:"action_time"` Dimension string `gorm:"column:dimension;type:json;not null;comment:维度数据" json:"dimension"` } // TableName GameAction's table name func (*GameAction) TableName() string { return TableNameGameAction }