// 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 TableNameFissionCampaignChannel = "fission_campaign_channel" // FissionCampaignChannel mapped from table type FissionCampaignChannel 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"` 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;uniqueIndex:uniq_campaign_id_mark,priority:1;comment:活动id(fission_campaign表)" json:"campaign_id"` IsDefault int8 `gorm:"column:is_default;type:tinyint;not null;comment:是否是默认值(0-否,1-是)" json:"is_default"` Mark string `gorm:"column:mark;type:char(2);not null;uniqueIndex:uniq_campaign_id_mark,priority:2;comment:渠道标识" json:"mark"` Title string `gorm:"column:title;type:varchar(128);not null;comment:渠道名称" json:"title"` CType int8 `gorm:"column:c_type;type:tinyint;not null;comment:渠道类型(1-站内渠道,2-站外渠道)" json:"c_type"` Code string `gorm:"column:code;type:varchar(20);not null;comment:口令字符串" json:"code"` ShortLink string `gorm:"column:short_link;type:varchar(255);not null;comment:短链地址" json:"short_link"` } // TableName FissionCampaignChannel's table name func (*FissionCampaignChannel) TableName() string { return TableNameFissionCampaignChannel }