diff --git a/db/export-data.sh b/db/export-data.sh index 96adc7ab6..f69620812 100755 --- a/db/export-data.sh +++ b/db/export-data.sh @@ -47,19 +47,20 @@ TABLES=( cplusSubjectOp cplusTaxBreak cplusTrascendency472 - pgc - time claimResponsible claimReason claimRedelivery claimResult - ticketUpdateAction - state - sample - department component componentType continent + department + itemPackingType + pgc + sample + state + ticketUpdateAction + time volumeConfig ) dump_tables ${TABLES[@]} diff --git a/modules/item/back/models/item-packing-type.json b/modules/item/back/models/item-packing-type.json new file mode 100644 index 000000000..d77c37dd8 --- /dev/null +++ b/modules/item/back/models/item-packing-type.json @@ -0,0 +1,26 @@ +{ + "name": "ItemPackingType", + "base": "VnModel", + "options": { + "mysql": { + "table": "itemPackingType" + } + }, + "properties": { + "code": { + "type": "string", + "id": true + }, + "description": { + "type": "string" + } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] +} \ No newline at end of file