Pipelinen parannuksia building blockeilla

This commit is contained in:
Jaakko Vanhala
2026-04-12 18:48:14 +03:00
parent c1a5f8aff5
commit b2ee8b9031
175 changed files with 13311 additions and 237 deletions

View File

@@ -0,0 +1,111 @@
{
"project_name": "warehouse_management",
"description": "A system for managing warehouse operations including products, storage locations, and transfers between locations.",
"entities": [
{
"name": "Product",
"table_name": "products",
"fields": [
{
"name": "product_id",
"sa_type": "Integer",
"py_type": "int",
"nullable": false,
"default": null
},
{
"name": "name",
"sa_type": "String(255)",
"py_type": "str",
"nullable": false,
"default": null
},
{
"name": "description",
"sa_type": "Text",
"py_type": "str | None",
"nullable": true,
"default": null
},
{
"name": "category",
"sa_type": "String(50)",
"py_type": "str",
"nullable": false,
"default": null
}
]
},
{
"name": "StorageLocation",
"table_name": "storage_locations",
"fields": [
{
"name": "location_id",
"sa_type": "Integer",
"py_type": "int",
"nullable": false,
"default": null
},
{
"name": "name",
"sa_type": "String(255)",
"py_type": "str",
"nullable": false,
"default": null
},
{
"name": "capacity",
"sa_type": "Integer",
"py_type": "int",
"nullable": false,
"default": 0
}
]
},
{
"name": "Transfer",
"table_name": "transfers",
"fields": [
{
"name": "transfer_id",
"sa_type": "Integer",
"py_type": "int",
"nullable": false,
"default": null
},
{
"name": "product_id",
"sa_type": "Integer",
"py_type": "int",
"nullable": false,
"default": null
},
{
"name": "from_location_id",
"sa_type": "Integer",
"py_type": "int",
"nullable": false,
"default": null
},
{
"name": "to_location_id",
"sa_type": "Integer",
"py_type": "int",
"nullable": false,
"default": null
},
{
"name": "quantity",
"sa_type": "Integer",
"py_type": "int",
"nullable": false,
"default": 0
}
]
}
],
"extra_imports": [
"from datetime import date"
]
}