// 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 TableNameFissionAction = "fission_action" // FissionAction mapped from table type FissionAction struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_campaign_id_type_user_mark,priority:1;comment:活动id" json:"campaign_id"` UserMark string `gorm:"column:user_mark;type:varchar(20);not null;index:idx_campaign_id_type_user_mark,priority:3;comment:用户唯一标识" json:"user_mark"` UserMarkSource int8 `gorm:"column:user_mark_source;type:tinyint;not null;comment:用户标识来源(1-fission_user表,2-ua头获得的id)" json:"user_mark_source"` Type int32 `gorm:"column:type;type:int;not null;index:idx_campaign_id_type_user_mark,priority:2;comment:用户行为类型" json:"type"` ActionTime int64 `gorm:"column:action_time;type:bigint;not null;index:idx_campaign_id_type_action_time,priority:3;comment:用户行为时间" json:"action_time"` Dimension string `gorm:"column:dimension;type:json;not null;comment:维度数据" json:"dimension"` OtherData string `gorm:"column:other_data;type:varchar(2000);not null;comment:其他数据(如自定义数据,用户标识计算的原始数据)" json:"other_data"` } // TableName FissionAction's table name func (*FissionAction) TableName() string { return TableNameFissionAction }