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.

34 lines
2.3 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 TableNameModuleStatisticsEventflow = "module_statistics_eventflow"
// ModuleStatisticsEventflow mapped from table <module_statistics_eventflow>
type ModuleStatisticsEventflow struct {
ID uint64 `gorm:"column:id;type:bigint unsigned;primaryKey;autoIncrement:true" json:"id"`
ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:project_event_index,priority:1" json:"project_id"`
LinkID int64 `gorm:"column:link_id;type:bigint;not null;index:createdtime_linkid_campaignid_index,priority:2" json:"link_id"`
CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:createdtime_linkid_campaignid_index,priority:3" json:"campaign_id"`
DfpRecordID int64 `gorm:"column:dfp_record_id;type:bigint;not null" json:"dfp_record_id"`
PersonaID int64 `gorm:"column:persona_id;type:bigint;not null" json:"persona_id"`
DeviceID string `gorm:"column:device_id;type:varchar(40);not null;index:created_time_project_device_id_index,priority:3" json:"device_id"`
UserID string `gorm:"column:user_id;type:varchar(40);not null" json:"user_id"`
EventID int64 `gorm:"column:event_id;type:bigint;not null;index:project_event_index,priority:2" json:"event_id"`
IPAddress string `gorm:"column:ip_address;type:char(39);not null" json:"ip_address"`
Os string `gorm:"column:os;type:varchar(15);not null" json:"os"`
OsVersion string `gorm:"column:os_version;type:varchar(10);not null" json:"os_version"`
DeviceModel string `gorm:"column:device_model;type:varchar(32);not null" json:"device_model"`
CreatedTime int32 `gorm:"column:created_time;type:int;not null;index:project_event_index,priority:3" json:"created_time"`
EventData string `gorm:"column:event_data;type:varchar(200);not null" json:"event_data"`
LinkHash string `gorm:"column:link_hash;type:varchar(22);not null;comment:链接hash" json:"link_hash"`
EventKey string `gorm:"column:event_key;type:varchar(50);not null;comment:事件key" json:"event_key"`
}
// TableName ModuleStatisticsEventflow's table name
func (*ModuleStatisticsEventflow) TableName() string {
return TableNameModuleStatisticsEventflow
}