salix/services/client/common/models/ClientObservation.json

34 lines
691 B
JSON
Raw Normal View History

2017-01-17 09:59:27 +00:00
{
"name": "ClientObservation",
"description": "Notas de los clientes.",
"base": "PersistedModel",
"validateUpsert": true,
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"text": {
"type": "string",
"description": "Fiscal indetifier"
},
"creationDate": {
"type": "date",
"description": "Fiscal indetifier"
},
"relations": {
"salesPerson": {
"type": "belongsTo",
"model": "SalesPerson",
"foreignKey": "salePersonId"
},
"client": {
"model": "Client",
"type": "belongsTo",
"foreignKey": "id"
2017-01-17 09:59:27 +00:00
}
}
}
}