fusenapi/model/fsproductpricemodel.go
laodaming a933f0d763 fix
2023-06-05 10:26:25 +08:00

25 lines
655 B
Go
Executable File

package model
import "github.com/zeromicro/go-zero/core/stores/sqlx"
var _ FsProductPriceModel = (*customFsProductPriceModel)(nil)
type (
// FsProductPriceModel is an interface to be customized, add more methods here,
// and implement the added methods in customFsProductPriceModel.
FsProductPriceModel interface {
fsProductPriceModel
}
customFsProductPriceModel struct {
*defaultFsProductPriceModel
}
)
// NewFsProductPriceModel returns a model for the database table.
func NewFsProductPriceModel(conn sqlx.SqlConn) FsProductPriceModel {
return &customFsProductPriceModel{
defaultFsProductPriceModel: newFsProductPriceModel(conn),
}
}