- Move cashflow_model/ -> domain/ - Move engine/ -> application/ - Move cli/, sync/, ai/ -> infrastructure/ - Update all imports across codebase and tests - Add version=1 to FinancialModel.to_dict() with migration hook in from_dict - Update pyproject.toml: cf entry point and packages.find Tests: 63/63 pass.
31 lines
571 B
JSON
31 lines
571 B
JSON
{
|
|
"version": 1,
|
|
"base_currency": "RUB",
|
|
"accounts": [
|
|
{
|
|
"id": "0283653e-2ebd-48fe-8b64-90ead1804e60",
|
|
"name": "Основной",
|
|
"currency": "RUB",
|
|
"balance": 50000.0
|
|
}
|
|
],
|
|
"transactions": [],
|
|
"recurring": [],
|
|
"assets": [
|
|
{
|
|
"id": "a4557779-4bb7-4b3b-b88e-1e436c3e6e43",
|
|
"name": "Акции",
|
|
"value": 100000.0,
|
|
"growth_rate": 8.0
|
|
}
|
|
],
|
|
"liabilities": [],
|
|
"scenarios": [],
|
|
"exchange_rates": [
|
|
{
|
|
"from_currency": "USD",
|
|
"to_currency": "RUB",
|
|
"rate": 80.0
|
|
}
|
|
]
|
|
} |