package repositories

import (
	"gitlab.com/mbugroup/lti-api.git/internal/common/repository"
	entity "gitlab.com/mbugroup/lti-api.git/internal/entities"
	"gorm.io/gorm"
)

type StockTransferDeliveryRepository interface {
	repository.BaseRepository[entity.StockTransferDelivery]
	// Tambahkan custom method jika perlu
}

type StockTransferDeliveryRepositoryImpl struct {
	*repository.BaseRepositoryImpl[entity.StockTransferDelivery]
}

func NewStockTransferDeliveryRepository(db *gorm.DB) StockTransferDeliveryRepository {
	return &StockTransferDeliveryRepositoryImpl{
		BaseRepositoryImpl: repository.NewBaseRepository[entity.StockTransferDelivery](db),
	}
}
