1 | {
|
2 | "bundle": "service",
|
3 | "label": "Service category",
|
4 | "description": "All services category",
|
5 | "refLabel": "name",
|
6 | "fields": {
|
7 | "id": {
|
8 | "label": "Id",
|
9 | "type": "primary"
|
10 | },
|
11 | "name": {
|
12 | "label": "Name",
|
13 | "type": "text",
|
14 | "required": true,
|
15 | "isList": true,
|
16 | "isFilter": true
|
17 | },
|
18 | "code": {
|
19 | "label": "Code",
|
20 | "type": "text",
|
21 | "unique": true,
|
22 | "required": true,
|
23 | "isList": true,
|
24 | "isFilter": true
|
25 | },
|
26 | "description": {
|
27 | "label": "Description",
|
28 | "type": "textarea"
|
29 | },
|
30 | "subcategorys": [{
|
31 | "label": "Sub Categorys",
|
32 | "ref": "Servicecategory",
|
33 | "type": "select",
|
34 | "attr": {"multiple": true},
|
35 | "isList": true,
|
36 | "isFilter": true
|
37 | }]
|
38 | }
|
39 | }
|