forked from JointCloud/pcm-coordinator
25 lines
754 B
Go
25 lines
754 B
Go
package models
|
|
|
|
import "github.com/zeromicro/go-zero/core/stores/sqlx"
|
|
|
|
var _ AiInferDeployInstanceModel = (*customAiInferDeployInstanceModel)(nil)
|
|
|
|
type (
|
|
// AiInferDeployInstanceModel is an interface to be customized, add more methods here,
|
|
// and implement the added methods in customAiInferDeployInstanceModel.
|
|
AiInferDeployInstanceModel interface {
|
|
aiInferDeployInstanceModel
|
|
}
|
|
|
|
customAiInferDeployInstanceModel struct {
|
|
*defaultAiInferDeployInstanceModel
|
|
}
|
|
)
|
|
|
|
// NewAiInferDeployInstanceModel returns a model for the database table.
|
|
func NewAiInferDeployInstanceModel(conn sqlx.SqlConn) AiInferDeployInstanceModel {
|
|
return &customAiInferDeployInstanceModel{
|
|
defaultAiInferDeployInstanceModel: newAiInferDeployInstanceModel(conn),
|
|
}
|
|
}
|