2018-02-23 12:04:44 +00:00
|
|
|
{
|
2018-11-30 06:57:41 +00:00
|
|
|
"name": "TicketService",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2018-02-23 12:04:44 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-11-30 06:57:41 +00:00
|
|
|
"table": "ticketService"
|
2018-02-23 12:04:44 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2018-02-23 12:04:44 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
2019-01-16 09:49:49 +00:00
|
|
|
"ticketFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2019-01-16 09:49:49 +00:00
|
|
|
"required": true
|
|
|
|
},
|
2018-11-30 06:57:41 +00:00
|
|
|
"description": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string",
|
2018-11-30 06:57:41 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"quantity": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2018-11-30 06:57:41 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"price": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2018-11-30 06:57:41 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"taxClassFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2018-11-30 06:57:41 +00:00
|
|
|
"required": true
|
2019-12-13 10:59:25 +00:00
|
|
|
},
|
|
|
|
"ticketServiceTypeFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2019-12-13 10:59:25 +00:00
|
|
|
"required": true
|
2018-02-23 12:04:44 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"taxClass": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "TaxClass",
|
|
|
|
"foreignKey": "taxClassFk"
|
2019-03-25 08:36:24 +00:00
|
|
|
},
|
|
|
|
"ticket": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Ticket",
|
|
|
|
"foreignKey": "ticketFk"
|
2019-12-13 10:59:25 +00:00
|
|
|
},
|
|
|
|
"ticketService": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "TicketServiceType",
|
|
|
|
"foreignKey": "ticketServiceTypeFk"
|
2018-02-23 12:04:44 +00:00
|
|
|
}
|
|
|
|
}
|
2023-04-12 10:33:14 +00:00
|
|
|
}
|