Feat[BE-222,223,224]: creating So create delete patch update get getall approval API

This commit is contained in:
aguhh18
2025-11-12 11:28:18 +07:00
parent 762dfa9fb9
commit 0a0c3f869b
24 changed files with 1688 additions and 82 deletions
@@ -0,0 +1,21 @@
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),
}
}