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