31 lines
586 B
JSON
31 lines
586 B
JSON
|
{
|
||
|
"name": "ClaimRma",
|
||
|
"base": "VnModel",
|
||
|
"options": {
|
||
|
"mysql": {
|
||
|
"table": "claimRma"
|
||
|
}
|
||
|
},
|
||
|
"properties": {
|
||
|
"id": {
|
||
|
"type": "number",
|
||
|
"id": true,
|
||
|
"description": "Identifier"
|
||
|
},
|
||
|
"code": {
|
||
|
"type": "string",
|
||
|
"required": true
|
||
|
},
|
||
|
"created": {
|
||
|
"type": "date"
|
||
|
}
|
||
|
},
|
||
|
"relations": {
|
||
|
"worker": {
|
||
|
"type": "belongsTo",
|
||
|
"model": "worker",
|
||
|
"foreignKey": "workerFk"
|
||
|
}
|
||
|
}
|
||
|
}
|