Feat[BE-261] : inisiate expense module

This commit is contained in:
aguhh18
2025-11-17 14:46:21 +07:00
parent d528096d56
commit 09d503f5be
15 changed files with 451 additions and 64 deletions
@@ -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),
}
}