// monorepo/cloud/maplefile-backend/internal/maplefile/repo/storagedailyusage/impl.go
package storagedailyusage

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

	"codeberg.org/mapleopentech/monorepo/cloud/maplefile-backend/config"
	"codeberg.org/mapleopentech/monorepo/cloud/maplefile-backend/internal/domain/storagedailyusage"
)

type storageDailyUsageRepositoryImpl struct {
	Logger  *zap.Logger
	Session *gocql.Session
}

func NewRepository(appCfg *config.Configuration, session *gocql.Session, loggerp *zap.Logger) storagedailyusage.StorageDailyUsageRepository {
	loggerp = loggerp.Named("StorageDailyUsageRepository")

	return &storageDailyUsageRepositoryImpl{
		Logger:  loggerp,
		Session: session,
	}
}
