sourcen übernommen und wieder compilierbar gemacht.

This commit is contained in:
2026-09-21 08:04:14 +02:00
parent 4874f8c7e7
commit 7012356fc3
40 changed files with 6218 additions and 0 deletions
@@ -0,0 +1,21 @@
package handlers
import (
"SimplyCPQ2/internal/services"
"github.com/gin-gonic/gin"
)
type ImportHandler struct {
importService *services.Import_Service
}
func NewImportHandler(i *services.Import_Service) *ImportHandler {
return &ImportHandler{
importService: i,
}
}
func (h *ImportHandler) ImportPropertyTypeGroups(ctx *gin.Context) {
// Implement the logic to import property types groups here
}
+21
View File
@@ -0,0 +1,21 @@
package handlers
import (
"SimplyCPQ2/internal/services"
"github.com/gin-gonic/gin"
)
type MainHandler struct {
propertyTypeService *services.PropertyTypeService
}
func NewMainHandler(p *services.PropertyTypeService) *MainHandler {
return &MainHandler{
propertyTypeService: p,
}
}
func (h *MainHandler) Home(ctx *gin.Context) {
// Implement the logic for the main handler's home endpoint here
}
@@ -0,0 +1,21 @@
package handlers
import (
"SimplyCPQ2/internal/services"
"github.com/gin-gonic/gin"
)
type PropertyTypeHandler struct {
propertyTypeService *services.PropertyTypeService
}
func NewPropertyTypeHandler(propertyTypeService *services.PropertyTypeService) *PropertyTypeHandler {
return &PropertyTypeHandler{
propertyTypeService: propertyTypeService,
}
}
func (h *PropertyTypeHandler) GetRootPropertyTypeGroups(ctx *gin.Context) {
// Implement the logic to get root property types groups here
}