package tenant

import (
	"github.com/gocql/gocql"
	"go.uber.org/zap"

	domaintenant "codeberg.org/mapleopentech/monorepo/cloud/maplepress-backend/internal/domain/tenant"
)

type repository struct {
	session *gocql.Session
	logger  *zap.Logger
}

// ProvideRepository creates a new tenant repository
func ProvideRepository(session *gocql.Session, logger *zap.Logger) domaintenant.Repository {
	return &repository{
		session: session,
		logger:  logger,
	}
}
