mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
22 lines
554 B
Go
22 lines
554 B
Go
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 PhaseActivityRepository interface {
|
|
repository.BaseRepository[entity.PhaseActivity]
|
|
}
|
|
|
|
type PhaseActivityRepositoryImpl struct {
|
|
*repository.BaseRepositoryImpl[entity.PhaseActivity]
|
|
}
|
|
|
|
func NewPhaseActivityRepository(db *gorm.DB) PhaseActivityRepository {
|
|
return &PhaseActivityRepositoryImpl{
|
|
BaseRepositoryImpl: repository.NewBaseRepository[entity.PhaseActivity](db),
|
|
}
|
|
}
|