Model/backend/app/db
Khalim Conn-Kowlessar 2fbd7147b7 refactor(modelling): move PortfolioGoal to domain/modelling/
PortfolioGoal is domain vocabulary (a Scenario's goal — legacy planning branches
on PortfolioGoal.INCREASING_EPC), so it belongs in domain/ co-located with
scenario.py, mirroring how domain/epc/wall_type.py holds an enum that
infrastructure/ imports. This lets the consolidated ScenarioModel (next slice)
source the goal enum from domain without an infra→backend dependency.
portfolio.py keeps a re-export so every existing
`from ...portfolio import PortfolioGoal` caller is unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 22:44:48 +00:00
..
functions feat(modelling): drop the plan_recommendations m2m 2026-06-03 21:13:00 +00:00
models refactor(modelling): move PortfolioGoal to domain/modelling/ 2026-06-03 22:44:48 +00:00
__init__.py Adding database connection to fastapi 2023-07-31 11:02:22 +01:00
base.py fixing typing issues 2026-02-26 12:45:52 +00:00
connection.py map survey to model 🟥 2026-01-28 18:06:18 +00:00
utils.py uploading plan and recommendations wip 2023-08-10 18:26:41 +01:00