78 lines
1.5 KiB
JSON
78 lines
1.5 KiB
JSON
{
|
|
"name": "Supplier",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "supplier"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"type": "Number",
|
|
"id": true,
|
|
"description": "Identifier"
|
|
},
|
|
"name": {
|
|
"type": "String"
|
|
},
|
|
"account": {
|
|
"type": "Number"
|
|
},
|
|
"countryFk": {
|
|
"type": "Number"
|
|
},
|
|
"nif": {
|
|
"type": "String"
|
|
},
|
|
"isFarmer": {
|
|
"type": "Boolean"
|
|
},
|
|
"phone": {
|
|
"type": "Number"
|
|
},
|
|
"retAccount": {
|
|
"type": "Number"
|
|
},
|
|
"commission": {
|
|
"type": "Boolean"
|
|
},
|
|
"created": {
|
|
"type": "Date"
|
|
},
|
|
"postcodeFk": {
|
|
"type": "Number"
|
|
},
|
|
"isActive": {
|
|
"type": "Boolean"
|
|
},
|
|
"street": {
|
|
"type": "String"
|
|
},
|
|
"city": {
|
|
"type": "String"
|
|
},
|
|
"provinceFk": {
|
|
"type": "Number"
|
|
},
|
|
"postCode": {
|
|
"type": "Number"
|
|
},
|
|
"payMethodFk": {
|
|
"type": "Number"
|
|
},
|
|
"payDemFk": {
|
|
"type": "Number"
|
|
},
|
|
"nickname": {
|
|
"type": "String"
|
|
}
|
|
},
|
|
"acls": [
|
|
{
|
|
"accessType": "READ",
|
|
"principalType": "ROLE",
|
|
"principalId": "$everyone",
|
|
"permission": "ALLOW"
|
|
}
|
|
]
|
|
} |