strapi/examples/getstarted/api/menusection/models/Menusection.settings.json
soupette 4b207e6cc0 Add D&P key to all models. Change UI modal divider
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:10 +02:00

32 lines
591 B
JSON
Executable File

{
"kind": "collectionType",
"collectionName": "menusections",
"info": {
"name": "menusection",
"description": ""
},
"options": {
"draftAndPublish": false,
"increments": true,
"timestamps": ["created_at", "updated_at"],
"comment": ""
},
"attributes": {
"name": {
"type": "string",
"required": true,
"minLength": 6
},
"dishes": {
"component": "default.dish",
"type": "component",
"repeatable": true,
"required": true
},
"menu": {
"model": "menu",
"via": "menusections"
}
}
}