salix/modules/zone/back/models/agency.json

28 lines
434 B
JSON
Raw Permalink Normal View History

2017-10-13 14:22:45 +00:00
{
"name": "Agency",
"base": "VnModel",
"options": {
"mysql": {
"table": "agency"
}
},
2017-10-13 14:22:45 +00:00
"properties": {
"id": {
"id": true,
"type": "number",
2017-10-13 14:22:45 +00:00
"forceId": false
},
"name": {
"type": "string",
2017-10-13 14:22:45 +00:00
"required": false
}
2022-03-15 08:36:48 +00:00
},
"relations": {
"supplierAgencyTerm": {
2022-03-15 13:50:09 +00:00
"type": "hasOne",
2022-03-15 08:36:48 +00:00
"model": "SupplierAgencyTerm",
"foreignKey": "agencyFk"
}
2017-10-13 14:22:45 +00:00
}
}