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.

25 lines
1.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 TableNameFissionTotal = "fission_total"
// FissionTotal mapped from table <fission_total>
type FissionTotal struct {
ID int64 `gorm:"column:id;type:bigint;primaryKey;autoIncrement:true" 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"`
CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;uniqueIndex:uniq_campaign_id_mark,priority:1;comment:活动id(fission_campaign表)" json:"campaign_id"`
Mark string `gorm:"column:mark;type:varchar(32);not null;uniqueIndex:uniq_campaign_id_mark,priority:2;comment:用户行为标识" json:"mark"`
Num int64 `gorm:"column:num;type:bigint;not null;comment:次数" json:"num"`
UserNum int64 `gorm:"column:user_num;type:bigint;not null;comment:人数" json:"user_num"`
BehaviorType int32 `gorm:"column:behavior_type;type:int;not null;comment:用户行为类型" json:"behavior_type"`
}
// TableName FissionTotal's table name
func (*FissionTotal) TableName() string {
return TableNameFissionTotal
}