|
|
// 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 TableNameFissionCampaignLongImg = "fission_campaign_long_img"
|
|
|
|
|
|
// FissionCampaignLongImg mapped from table <fission_campaign_long_img>
|
|
|
type FissionCampaignLongImg struct {
|
|
|
ID int64 `gorm:"column:id;type:bigint;primaryKey" 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"`
|
|
|
IsDel int8 `gorm:"column:is_del;type:tinyint;not null;comment:是否已删除(1-是,0-否)" json:"is_del"`
|
|
|
CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_campaign_id_lang_id,priority:1;comment:活动ID(fission_campaign表)" json:"campaign_id"`
|
|
|
LangID int64 `gorm:"column:lang_id;type:bigint;not null;index:idx_campaign_id_lang_id,priority:2;comment:语言ID(fission_campaign_lang表)" json:"lang_id"`
|
|
|
LangSourceID int64 `gorm:"column:lang_source_id;type:bigint;not null;comment:语言长途源ID" json:"lang_source_id"`
|
|
|
ClickType int8 `gorm:"column:click_type;type:tinyint;not null;default:1;comment:点击类型(1-整图点击,2-区域点击)" json:"click_type"`
|
|
|
ImgURL string `gorm:"column:img_url;type:varchar(64);not null;comment:图片地址" json:"img_url"`
|
|
|
WebURL string `gorm:"column:web_url;type:varchar(255);not null;comment:Web跳转地址" json:"web_url"`
|
|
|
AppParam string `gorm:"column:app_param;type:varchar(255);not null;comment:App跳转参数" json:"app_param"`
|
|
|
PcParam string `gorm:"column:pc_param;type:varchar(255);not null;comment:pc跳转参数" json:"pc_param"`
|
|
|
TargetType int8 `gorm:"column:target_type;type:tinyint;not null;comment:跳转目标(1-指定地址,2-活动)" json:"target_type"`
|
|
|
TargetID int64 `gorm:"column:target_id;type:bigint;not null;comment:目标id" json:"target_id"`
|
|
|
}
|
|
|
|
|
|
// TableName FissionCampaignLongImg's table name
|
|
|
func (*FissionCampaignLongImg) TableName() string {
|
|
|
return TableNameFissionCampaignLongImg
|
|
|
}
|