feat(BE-116): add project chick in database schema

This commit is contained in:
aguhh18
2025-10-18 16:30:13 +07:00
parent a45c20d2ff
commit 68a670a2bd
13 changed files with 568 additions and 9 deletions
@@ -0,0 +1,21 @@
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 ChickinRepository interface {
repository.BaseRepository[entity.ProjectChickin]
}
type ChickinRepositoryImpl struct {
*repository.BaseRepositoryImpl[entity.ProjectChickin]
}
func NewChickinRepository(db *gorm.DB) ChickinRepository {
return &ChickinRepositoryImpl{
BaseRepositoryImpl: repository.NewBaseRepository[entity.ProjectChickin](db),
}
}