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 StockTransferDeliveryItemRepository interface {
	repository.BaseRepository[entity.StockTransferDeliveryItem]
	// Tambahkan custom method jika perlu
}

type StockTransferDeliveryItemRepositoryImpl struct {
	*repository.BaseRepositoryImpl[entity.StockTransferDeliveryItem]
}

func NewStockTransferDeliveryItemRepository(db *gorm.DB) StockTransferDeliveryItemRepository {
	return &StockTransferDeliveryItemRepositoryImpl{
		BaseRepositoryImpl: repository.NewBaseRepository[entity.StockTransferDeliveryItem](db),
	}
}
