Model/backend/app/db/models
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
..
tests typing and renaming 🟪 2026-05-07 13:26:49 +00:00
addresses.py working on integration test 2026-02-23 12:13:59 +00:00
bulk_address_uploads.py added backend funciton to functions 2026-04-22 14:21:39 +00:00
condition.py working on integration test 2026-02-23 12:13:59 +00:00
energy_assessments.py removed create_type from enum (only created if it doesn't exist) 2026-02-26 18:21:37 +00:00
epc.py working on integration test 2026-02-23 12:13:59 +00:00
epc_property.py feat(epc): EPC persistence round-trip fidelity + JSONB code columns (Slice 1 #1129) 2026-05-30 19:26:18 +00:00
funding.py working on integration test 2026-02-23 12:13:59 +00:00
hubspot_deal_data.py booking status 2026-05-28 12:15:37 +00:00
hubspot_project_data.py hubspot projects data is scraped 2026-05-28 10:54:15 +00:00
hubspot_user.py Adding use model for storage of users 2026-04-30 18:53:15 +00:00
inspections.py working on integration test 2026-02-23 12:13:59 +00:00
magic_plan.py Store uploaded_file_id on magic_plan_plan row 🟥 2026-05-13 10:50:28 +00:00
materials.py working on integration test 2026-02-23 12:13:59 +00:00
non_intrusive_surveys.py working on integration test 2026-02-23 12:13:59 +00:00
organisation.py move HubspotDealData object to dedicated file 2026-04-09 10:46:52 +00:00
portfolio.py refactor(modelling): move PortfolioGoal to domain/modelling/ 2026-06-03 22:44:48 +00:00
postcode_search.py lambda code works locally 2026-03-06 12:51:08 +00:00
recommendations.py refactor(modelling): rename the cluster SQLModel classes …Row → …Model 2026-06-03 22:42:21 +00:00
solar.py working on integration test 2026-02-23 12:13:59 +00:00
tasks.py task and sub tasks imrpvoed 2026-05-12 16:24:11 +00:00
uploaded_file.py Coordination Hub fallback stores correct file_source in DB 🟥 2026-05-19 11:07:41 +00:00
users.py working on integration test 2026-02-23 12:13:59 +00:00
whlg.py working on integration test 2026-02-23 12:13:59 +00:00