mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Fix[BE]: fixing delivery order delet unused repository
This commit is contained in:
-21
@@ -1,21 +0,0 @@
|
|||||||
package repository
|
|
||||||
|
|
||||||
import (
|
|
||||||
entity "gitlab.com/mbugroup/lti-api.git/internal/entities"
|
|
||||||
"gitlab.com/mbugroup/lti-api.git/internal/common/repository"
|
|
||||||
"gorm.io/gorm"
|
|
||||||
)
|
|
||||||
|
|
||||||
type DeliveryOrdersRepository interface {
|
|
||||||
repository.BaseRepository[entity.DeliveryOrders]
|
|
||||||
}
|
|
||||||
|
|
||||||
type DeliveryOrdersRepositoryImpl struct {
|
|
||||||
*repository.BaseRepositoryImpl[entity.DeliveryOrders]
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewDeliveryOrdersRepository(db *gorm.DB) DeliveryOrdersRepository {
|
|
||||||
return &DeliveryOrdersRepositoryImpl{
|
|
||||||
BaseRepositoryImpl: repository.NewBaseRepository[entity.DeliveryOrders](db),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user