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"
},
2020-09-02 12:08:56 +00:00
"commission": {
2019-03-28 10:55:23 +00:00
"type": "Boolean"
},
"created": {
"type": "Date"
},
2020-09-02 12:08:56 +00:00
"postcodeFk": {
2019-03-28 10:55:23 +00:00
"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"
}
]
}