28 lines
875 B
Go
Executable File
28 lines
875 B
Go
Executable File
package model
|
|
|
|
import (
|
|
"github.com/zeromicro/go-zero/core/stores/cache"
|
|
"github.com/zeromicro/go-zero/core/stores/sqlx"
|
|
)
|
|
|
|
var _ ScParticipantLabelInfoModel = (*customScParticipantLabelInfoModel)(nil)
|
|
|
|
type (
|
|
// ScParticipantLabelInfoModel is an interface to be customized, add more methods here,
|
|
// and implement the added methods in customScParticipantLabelInfoModel.
|
|
ScParticipantLabelInfoModel interface {
|
|
scParticipantLabelInfoModel
|
|
}
|
|
|
|
customScParticipantLabelInfoModel struct {
|
|
*defaultScParticipantLabelInfoModel
|
|
}
|
|
)
|
|
|
|
// NewScParticipantLabelInfoModel returns a model for the database table.
|
|
func NewScParticipantLabelInfoModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) ScParticipantLabelInfoModel {
|
|
return &customScParticipantLabelInfoModel{
|
|
defaultScParticipantLabelInfoModel: newScParticipantLabelInfoModel(conn, c, opts...),
|
|
}
|
|
}
|