mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-21 13:55:43 +00:00
chore: update port so it doesn't conflict with sso
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
model "gitlab.com/mbugroup/lti-api.git/internal/modules/master/uoms/models"
|
||||
"gitlab.com/mbugroup/lti-api.git/internal/repository"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type UomRepository interface {
|
||||
repository.BaseRepository[model.Uom]
|
||||
}
|
||||
|
||||
type UomRepositoryImpl struct {
|
||||
*repository.BaseRepositoryImpl[model.Uom]
|
||||
}
|
||||
|
||||
func NewUomRepository(db *gorm.DB) UomRepository {
|
||||
return &UomRepositoryImpl{
|
||||
BaseRepositoryImpl: repository.NewBaseRepository[model.Uom](db),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user