salix/modules/claim/back/models/claim-rma.json

31 lines
586 B
JSON
Raw Permalink Normal View History

2022-10-24 16:37:38 +00:00
{
"name": "ClaimRma",
"base": "VnModel",
"options": {
"mysql": {
"table": "claimRma"
}
},
"properties": {
"id": {
"id": true,
2022-10-31 11:39:26 +00:00
"type": "number",
2022-10-24 16:37:38 +00:00
"description": "Identifier"
},
"code": {
"type": "string",
"required": true
},
"created": {
"type": "date"
}
},
"relations": {
"worker": {
"type": "belongsTo",
2022-10-25 12:09:21 +00:00
"model": "Worker",
2022-10-24 16:37:38 +00:00
"foreignKey": "workerFk"
}
}
}