salix/back/models/delivery.json

38 lines
579 B
JSON
Raw Permalink Normal View History

{
2017-10-10 13:01:10 +00:00
"name": "Delivery",
2017-10-11 13:36:47 +00:00
"base": "VnModel",
"options": {
"mysql": {
"table": "delivery"
}
},
"properties": {
"id": {
"id": true,
"type": "number"
},
"created": {
"type": "date"
2017-10-10 13:01:10 +00:00
},
"longitude":{
2022-05-12 07:47:47 +00:00
"type": "number"
2017-10-10 13:01:10 +00:00
},
"latitude":{
2022-05-12 07:47:47 +00:00
"type": "number"
},
"dated":{
"type": "date"
},
"ticketFk":{
"type": "number"
}
},
"relations": {
"ticket": {
"type": "belongsTo",
"model": "Ticket",
"foreignKey": "ticketFk"
}
}
2017-10-10 13:01:10 +00:00
}