youtu_server/game_open_api/model/douyinecpmconfigmodel.go
2025-01-20 01:55:44 +08:00

28 lines
791 B
Go

package model
import (
"github.com/zeromicro/go-zero/core/stores/cache"
"github.com/zeromicro/go-zero/core/stores/sqlx"
)
var _ DouyinEcpmConfigModel = (*customDouyinEcpmConfigModel)(nil)
type (
// DouyinEcpmConfigModel is an interface to be customized, add more methods here,
// and implement the added methods in customDouyinEcpmConfigModel.
DouyinEcpmConfigModel interface {
douyinEcpmConfigModel
}
customDouyinEcpmConfigModel struct {
*defaultDouyinEcpmConfigModel
}
)
// NewDouyinEcpmConfigModel returns a model for the database table.
func NewDouyinEcpmConfigModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) DouyinEcpmConfigModel {
return &customDouyinEcpmConfigModel{
defaultDouyinEcpmConfigModel: newDouyinEcpmConfigModel(conn, c, opts...),
}
}