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.

32 lines
2.1 KiB
Go

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// 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 TableNameFissionNotify = "fission_notify"
// FissionNotify mapped from table <fission_notify>
type FissionNotify 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"`
HashID string `gorm:"column:hash_id;type:varchar(20);not null;comment:对外hash_id" json:"hash_id"`
CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_campaign_id,priority:1;comment:活动id(fission_campaign表)" json:"campaign_id"`
RecordID int64 `gorm:"column:record_id;type:bigint;not null;index:idx_record_id,priority:1;comment:玩法奖品记录id(fission_reward_record表)" json:"record_id"`
RewardID int64 `gorm:"column:reward_id;type:bigint;not null;index:idx_reward_id,priority:1;comment:奖品id(活动下对应的用户奖品表id)" json:"reward_id"`
NotifyType int8 `gorm:"column:notify_type;type:tinyint;not null;comment:回调类型(1-服务端回调,2-客户端监听)" json:"notify_type"`
NotifyURL string `gorm:"column:notify_url;type:varchar(255);not null;comment:回调地址" json:"notify_url"`
Token string `gorm:"column:token;type:varchar(40);not null;comment:回调的token" json:"token"`
Body string `gorm:"column:body;type:varchar(10000);not null;comment:推送数据" json:"body"`
PushNum int32 `gorm:"column:push_num;type:int;not null;comment:推送次数" json:"push_num"`
IsOk int8 `gorm:"column:is_ok;type:tinyint;not null;comment:是否推送成功(0-否,1-是)" json:"is_ok"`
PushLadder int8 `gorm:"column:push_ladder;type:tinyint;not null;comment:是否开启转发推送" json:"push_ladder"`
Headers string `gorm:"column:headers;type:json;not null;comment:请求头数据" json:"headers"`
}
// TableName FissionNotify's table name
func (*FissionNotify) TableName() string {
return TableNameFissionNotify
}