2023-06-19 02:12:58 +00:00
|
|
|
package gmodel
|
2023-06-13 04:15:06 +00:00
|
|
|
|
|
|
|
import "github.com/zeromicro/go-zero/core/stores/sqlx"
|
|
|
|
|
|
|
|
var _ FsCartModel = (*customFsCartModel)(nil)
|
|
|
|
|
|
|
|
type (
|
|
|
|
// FsCartModel is an interface to be customized, add more methods here,
|
|
|
|
// and implement the added methods in customFsCartModel.
|
|
|
|
FsCartModel interface {
|
|
|
|
fsCartModel
|
|
|
|
}
|
|
|
|
|
|
|
|
customFsCartModel struct {
|
|
|
|
*defaultFsCartModel
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
// NewFsCartModel returns a model for the database table.
|
|
|
|
func NewFsCartModel(conn sqlx.SqlConn) FsCartModel {
|
|
|
|
return &customFsCartModel{
|
|
|
|
defaultFsCartModel: newFsCartModel(conn),
|
|
|
|
}
|
|
|
|
}
|