mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-22 22:35:43 +00:00
fix[BE] delete unused entity and repository
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"gitlab.com/mbugroup/lti-api.git/internal/common/repository"
|
||||
entity "gitlab.com/mbugroup/lti-api.git/internal/entities"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type AuditLogRepository interface {
|
||||
repository.BaseRepository[entity.AuditLog]
|
||||
}
|
||||
|
||||
type AuditLogRepositoryImpl struct {
|
||||
*repository.BaseRepositoryImpl[entity.AuditLog]
|
||||
}
|
||||
|
||||
func NewAuditLogRepository(db *gorm.DB) AuditLogRepository {
|
||||
return &AuditLogRepositoryImpl{
|
||||
BaseRepositoryImpl: repository.NewBaseRepository[entity.AuditLog](db),
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"gitlab.com/mbugroup/lti-api.git/internal/common/repository"
|
||||
entity "gitlab.com/mbugroup/lti-api.git/internal/entities"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type StockAvailabilityRepository interface {
|
||||
repository.BaseRepository[entity.StockAvailability]
|
||||
}
|
||||
|
||||
type StockAvailabilityRepositoryImpl struct {
|
||||
*repository.BaseRepositoryImpl[entity.StockAvailability]
|
||||
}
|
||||
|
||||
func NewStockAvailabilityRepository(db *gorm.DB) StockAvailabilityRepository {
|
||||
return &StockAvailabilityRepositoryImpl{
|
||||
BaseRepositoryImpl: repository.NewBaseRepository[entity.StockAvailability](db),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user