2017-12-13 07:24:14 +00:00
|
|
|
{
|
2017-12-13 12:40:21 +00:00
|
|
|
"name": "Company",
|
2018-01-29 18:57:00 +00:00
|
|
|
"description": "Companies",
|
2017-12-13 07:24:14 +00:00
|
|
|
"base": "VnModel",
|
2017-12-13 12:40:21 +00:00
|
|
|
"options": {
|
2019-02-11 09:13:58 +00:00
|
|
|
"mysql": {
|
|
|
|
"table": "company"
|
|
|
|
}
|
2017-12-13 12:40:21 +00:00
|
|
|
},
|
2017-12-13 07:24:14 +00:00
|
|
|
"properties": {
|
2019-02-11 09:13:58 +00:00
|
|
|
"id": {
|
|
|
|
"id": true,
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2019-02-11 09:13:58 +00:00
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"code": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2019-02-11 09:13:58 +00:00
|
|
|
},
|
|
|
|
"expired": {
|
|
|
|
"type": "date"
|
2023-07-18 12:15:56 +00:00
|
|
|
},
|
|
|
|
"supplierAccountFk": {
|
|
|
|
"type": "number"
|
2019-02-11 09:13:58 +00:00
|
|
|
}
|
2019-02-18 13:40:50 +00:00
|
|
|
},
|
|
|
|
"scope": {
|
|
|
|
"where" :{
|
|
|
|
"expired": null
|
|
|
|
}
|
2023-06-16 12:24:47 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"client": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Client",
|
|
|
|
"foreignKey": "clientFk"
|
|
|
|
}
|
2017-12-13 07:24:14 +00:00
|
|
|
}
|
2023-01-25 14:19:33 +00:00
|
|
|
}
|