mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-25 15:55:44 +00:00
Feat[BE-261] : inisiate expense module
This commit is contained in:
@@ -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 SalesOrdersRepository interface {
|
||||
repository.BaseRepository[entity.SalesOrders]
|
||||
}
|
||||
|
||||
type SalesOrdersRepositoryImpl struct {
|
||||
*repository.BaseRepositoryImpl[entity.SalesOrders]
|
||||
}
|
||||
|
||||
func NewSalesOrdersRepository(db *gorm.DB) SalesOrdersRepository {
|
||||
return &SalesOrdersRepositoryImpl{
|
||||
BaseRepositoryImpl: repository.NewBaseRepository[entity.SalesOrders](db),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user