barcode_scanner/lib/backend/objectbox/objectbox-model.json
mandreshope 83a20c548b feat: Integrates ObjectBox and updates Product ID
Adds the ObjectBox database dependency for local data persistence.

Updates the Product ID field type from nullable String to non-nullable int with a default value of 0 to align with ObjectBox's integer ID requirements. Includes necessary generated files for plugin registration and model serialization.
2025-07-03 16:01:45 +03:00

57 lines
1.4 KiB
JSON

{
"_note1": "KEEP THIS FILE! Check it into a version control system (VCS) like git.",
"_note2": "ObjectBox manages crucial IDs for your object model. See docs for details.",
"_note3": "If you have VCS merge conflicts, you must resolve them according to ObjectBox docs.",
"entities": [
{
"id": "1:6757833172062715556",
"lastPropertyId": "6:7033704955625644592",
"name": "ProductEntity",
"properties": [
{
"id": "1:1853465479129290672",
"name": "id",
"type": 6,
"flags": 1
},
{
"id": "2:4521897043130066476",
"name": "code",
"type": 9
},
{
"id": "3:2561289170534233438",
"name": "name",
"type": 9
},
{
"id": "4:6084891210993334692",
"name": "description",
"type": 9
},
{
"id": "5:883454706727408240",
"name": "price",
"type": 9
},
{
"id": "6:7033704955625644592",
"name": "quantity",
"type": 9
}
],
"relations": []
}
],
"lastEntityId": "1:6757833172062715556",
"lastIndexId": "0:0",
"lastRelationId": "0:0",
"lastSequenceId": "0:0",
"modelVersion": 5,
"modelVersionParserMinimum": 5,
"retiredEntityUids": [],
"retiredIndexUids": [],
"retiredPropertyUids": [],
"retiredRelationUids": [],
"version": 1
}