Files
juwan-backend/app/user_verifications/rpc/internal/svc/userVerificationsModel.go
T
2026-02-27 05:42:13 +08:00

28 lines
803 B
Go

package svc
import (
"github.com/zeromicro/go-zero/core/stores/cache"
"github.com/zeromicro/go-zero/core/stores/sqlx"
)
var _ UserVerificationsModel = (*customUserVerificationsModel)(nil)
type (
// UserVerificationsModel is an interface to be customized, add more methods here,
// and implement the added methods in customUserVerificationsModel.
UserVerificationsModel interface {
userVerificationsModel
}
customUserVerificationsModel struct {
*defaultUserVerificationsModel
}
)
// NewUserVerificationsModel returns a model for the database table.
func NewUserVerificationsModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) UserVerificationsModel {
return &customUserVerificationsModel{
defaultUserVerificationsModel: newUserVerificationsModel(conn, c, opts...),
}
}