package customerprofile

import (
	"system-altrak/internal/repository"
)

type CustomerProfileRepository interface {
	GetDB() *repository.Repository
}

type repositoryImpl struct {
	base *repository.Repository
}

func NewRepository(base *repository.Repository) CustomerProfileRepository {
	return &repositoryImpl{base: base}
}

func (r *repositoryImpl) GetDB() *repository.Repository {
	return r.base
}
