fusenapi/model/fsusermodel.go

25 lines
543 B
Go
Raw Normal View History

2023-06-01 10:35:09 +00:00
package model
import "github.com/zeromicro/go-zero/core/stores/sqlx"
var _ FsUserModel = (*customFsUserModel)(nil)
type (
// FsUserModel is an interface to be customized, add more methods here,
// and implement the added methods in customFsUserModel.
FsUserModel interface {
fsUserModel
}
customFsUserModel struct {
*defaultFsUserModel
}
)
// NewFsUserModel returns a model for the database table.
func NewFsUserModel(conn sqlx.SqlConn) FsUserModel {
return &customFsUserModel{
defaultFsUserModel: newFsUserModel(conn),
}
}