salix/modules/ticket/back/models/ticket-service.json

43 lines
916 B
JSON
Raw Normal View History

2018-02-23 12:04:44 +00:00
{
2018-11-30 06:57:41 +00:00
"name": "TicketService",
2018-02-23 12:04:44 +00:00
"base": "VnModel",
"options": {
"mysql": {
2018-11-30 06:57:41 +00:00
"table": "ticketService"
2018-02-23 12:04:44 +00:00
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
2019-01-16 09:49:49 +00:00
"ticketFk": {
"type": "Number",
"required": true
},
2018-11-30 06:57:41 +00:00
"description": {
"type": "String",
"required": true
},
"quantity": {
"type": "Number",
"required": true
},
"price": {
"type": "Number",
"required": true
},
"taxClassFk": {
"type": "Number",
"required": true
2018-02-23 12:04:44 +00:00
}
},
"relations": {
"taxClass": {
"type": "belongsTo",
"model": "TaxClass",
"foreignKey": "taxClassFk"
}
}
}