2020-12-16 07:33:08 +00:00
|
|
|
{
|
|
|
|
"name": "Till",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "till"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"dated": {
|
|
|
|
"type": "date",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"isAccountable": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"serie": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"number": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"concept": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"in": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"out": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"created": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
2021-01-11 07:01:57 +00:00
|
|
|
"isConciliate": {
|
2020-12-16 07:33:08 +00:00
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"bank": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "BankEntity",
|
|
|
|
"foreignKey": "bankEntityFk"
|
|
|
|
},
|
|
|
|
"salesPersonUser": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Account",
|
|
|
|
"foreignKey": "salesPersonFk"
|
|
|
|
},
|
|
|
|
"company": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Company",
|
|
|
|
"foreignKey": "companyFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|