21 lines
903 B
Go
21 lines
903 B
Go
|
// 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 TableNameDouyinEcpmConfig = "douyin_ecpm_config"
|
||
|
|
||
|
// DouyinEcpmConfig mapped from table <douyin_ecpm_config>
|
||
|
type DouyinEcpmConfig struct {
|
||
|
ID uint32 `gorm:"column:id;type:int unsigned;primaryKey;autoIncrement:true" json:"id"`
|
||
|
AppAccountID uint32 `gorm:"column:app_account_id;type:int unsigned;not null;index:app_account_id,priority:1" json:"app_account_id"`
|
||
|
EcpmValue uint32 `gorm:"column:ecpm_value;type:int unsigned;not null;comment:值" json:"ecpm_value"` // 值
|
||
|
EcpmView uint32 `gorm:"column:ecpm_view;type:int unsigned;not null;comment:浏览次数" json:"ecpm_view"` // 浏览次数
|
||
|
}
|
||
|
|
||
|
// TableName DouyinEcpmConfig's table name
|
||
|
func (*DouyinEcpmConfig) TableName() string {
|
||
|
return TableNameDouyinEcpmConfig
|
||
|
}
|