// 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 TableNameReportDayGoodsBasic = "report_day_goods_basic" // ReportDayGoodsBasic mapped from table type ReportDayGoodsBasic struct { ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"` Date string `gorm:"column:date;type:date;not null;uniqueIndex:date,priority:1" json:"date"` PositionID int64 `gorm:"column:position_id;type:bigint(20) unsigned;not null;uniqueIndex:date,priority:2" json:"position_id"` // 条件编号 ChannelID string `gorm:"column:channel_id;type:varchar(128);uniqueIndex:date,priority:3;default:0" json:"channel_id"` // 渠道ID ServerID int32 `gorm:"column:server_id;type:int(11);not null;uniqueIndex:date,priority:4;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID Name string `gorm:"column:name;type:varchar(64);not null" json:"name"` // 条件名称 ShowTimes int64 `gorm:"column:show_times;type:bigint(20) unsigned;not null" json:"show_times"` ClickTimes int64 `gorm:"column:click_times;type:bigint(20) unsigned;not null" json:"click_times"` SuccessTimes int64 `gorm:"column:success_times;type:bigint(20) unsigned;not null" json:"success_times"` ShowUsers int64 `gorm:"column:show_users;type:bigint(20) unsigned;not null" json:"show_users"` ClickUsers int64 `gorm:"column:click_users;type:bigint(20) unsigned;not null" json:"click_users"` SuccessUsers int64 `gorm:"column:success_users;type:bigint(20) unsigned;not null" json:"success_users"` CreatedAt int32 `gorm:"column:created_at;type:int(10) unsigned;not null" json:"created_at"` UpdatedAt int32 `gorm:"column:updated_at;type:int(10) unsigned;not null" json:"updated_at"` } // TableName ReportDayGoodsBasic's table name func (*ReportDayGoodsBasic) TableName() string { return TableNameReportDayGoodsBasic }