func NewApplicationRepository(db *sql.DB) *ApplicationRepository {
	return &ApplicationRepository{
		Queries: gendb.New(db),
		db:      db,
	}
}
NewApplicationRepository creates new Repository
package postgres
import (
	"context"
	"database/sql"
	"errors"
	v1 "optisam-backend/application-service/pkg/api/v1"
	gendb "optisam-backend/application-service/pkg/repository/v1/postgres/db"
	"optisam-backend/common/optisam/helper"
	"optisam-backend/common/optisam/logger"
	"go.uber.org/zap"
)
type ApplicationRepository struct {
	*gendb.Queries
	db *sql.DB
}