// 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 TableNameFissionCustomBtn = "fission_custom_btn" // FissionCustomBtn mapped from table type FissionCustomBtn struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;uniqueIndex:uniq_campaign_id_btn_text,priority:1;comment:活动id(fission_campaign表)" json:"campaign_id"` BtnText string `gorm:"column:btn_text;type:varchar(64);not null;uniqueIndex:uniq_campaign_id_btn_text,priority:2;comment:按钮文案" json:"btn_text"` } // TableName FissionCustomBtn's table name func (*FissionCustomBtn) TableName() string { return TableNameFissionCustomBtn }