salix/modules/item/back/models/item-config.json

41 lines
865 B
JSON
Raw Permalink Normal View History

2022-09-27 12:20:57 +00:00
{
"name": "ItemConfig",
"base": "VnModel",
"options": {
"mysql": {
"table": "itemConfig"
}
},
"properties": {
"isItemTagTriggerDisabled": {
"type": "boolean"
},
"monthToDeactivate": {
"type": "boolean"
},
"wasteRecipients": {
"type": "string",
"description": "Buyers waste report recipients"
},
"validPriorities": {
"type": "array"
},
"defaultPriority": {
2023-02-21 07:32:46 +00:00
"type": "number"
},
"defaultTag": {
2023-02-21 07:32:46 +00:00
"type": "number"
},
"warehouseFk": {
2023-02-21 07:32:46 +00:00
"type": "number"
}
},
"relations": {
"tag": {
"type": "belongsTo",
"model": "Tag",
"foreignKey": "defaultTag"
2022-09-27 12:20:57 +00:00
}
}
}