Feat(BE-127): create migration for transfer to laying and inisiate module

This commit is contained in:
aguhh18
2025-10-30 09:06:21 +07:00
parent a390d1d23a
commit 31bb28f7da
13 changed files with 532 additions and 1 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 TransferLayingRepository interface {
repository.BaseRepository[entity.TransferLaying]
}
type TransferLayingRepositoryImpl struct {
*repository.BaseRepositoryImpl[entity.TransferLaying]
}
func NewTransferLayingRepository(db *gorm.DB) TransferLayingRepository {
return &TransferLayingRepositoryImpl{
BaseRepositoryImpl: repository.NewBaseRepository[entity.TransferLaying](db),
}
}