Generate cloud instead televendcloud entities

This commit is contained in:
Eden Kirin
2025-12-15 10:37:28 +01:00
parent 0a4030c389
commit 5f5f1ad114
8 changed files with 24 additions and 24 deletions

View File

@ -12,7 +12,7 @@ func GenerateLoadOptions(ctx *Context) (string, error) {
// Imports
b.WriteString("from televend_core.databases.base_load_options import LoadOptions\n")
b.WriteString("from televend_core.databases.common.load_options import joinload\n")
b.WriteString(fmt.Sprintf("from televend_core.databases.televend_repositories.%s.model import %s\n",
b.WriteString(fmt.Sprintf("from televend_core.databases.cloud_repositories.%s.model import %s\n",
ctx.ModuleName, ctx.EntityName))
b.WriteString("\n\n")