salix/modules/item/back/models/supplier.json

78 lines
1.5 KiB
JSON
Raw Normal View History

2019-03-28 10:55:23 +00:00
{
"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"
},
"commision": {
"type": "Boolean"
},
"created": {
"type": "Date"
},
"poscodeFk": {
"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"
}
]
}