salix/back/models/company.json

32 lines
573 B
JSON
Raw Normal View History

2017-12-13 07:24:14 +00:00
{
2017-12-13 12:40:21 +00:00
"name": "Company",
"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,
"type": "Number",
"description": "Identifier"
},
"code": {
"type": "String"
},
"expired": {
"type": "date"
2020-12-16 07:33:08 +00:00
},
"isOfficial": {
"type": "boolean"
2019-02-11 09:13:58 +00:00
}
2019-02-18 13:40:50 +00:00
},
"scope": {
"where" :{
"expired": null
}
2017-12-13 07:24:14 +00:00
}
2019-02-11 09:13:58 +00:00
}