2017-12-12 11:26:18 +00:00
|
|
|
{
|
2018-03-12 12:55:18 +00:00
|
|
|
"name": "TicketPackaging",
|
2019-01-11 07:30:44 +00:00
|
|
|
"base": "Loggable",
|
2018-01-29 11:37:54 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2019-01-11 07:30:44 +00:00
|
|
|
"table": "ticketPackaging"
|
2018-01-29 11:37:54 +00:00
|
|
|
}
|
|
|
|
},
|
2017-12-12 11:26:18 +00:00
|
|
|
"properties": {
|
2019-01-11 07:30:44 +00:00
|
|
|
"id": {
|
|
|
|
"id": true,
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2019-01-11 07:30:44 +00:00
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"quantity": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2019-01-11 07:30:44 +00:00
|
|
|
},
|
|
|
|
"created": {
|
2022-05-16 08:19:43 +00:00
|
|
|
"type": "date"
|
2019-01-11 07:30:44 +00:00
|
|
|
},
|
|
|
|
"pvp": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2019-01-11 07:30:44 +00:00
|
|
|
}
|
2017-12-12 11:26:18 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
2019-01-11 07:30:44 +00:00
|
|
|
"ticket": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Ticket",
|
|
|
|
"foreignKey": "ticketFk"
|
|
|
|
},
|
|
|
|
"packaging": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Packaging",
|
|
|
|
"foreignKey": "packagingFk"
|
|
|
|
}
|
2017-12-12 11:26:18 +00:00
|
|
|
}
|
2019-01-11 07:30:44 +00:00
|
|
|
}
|