36 lines
702 B
JSON
36 lines
702 B
JSON
{
|
|
"name": "ExpeditionState",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "expeditionState"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "number",
|
|
"description": "Identifier"
|
|
},
|
|
"created": {
|
|
"type": "date"
|
|
},
|
|
"expeditionFk": {
|
|
"type": "number"
|
|
},
|
|
"typeFk": {
|
|
"type": "number"
|
|
},
|
|
"userFk": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"expeditionStateType": {
|
|
"type": "belongsTo",
|
|
"model": "ExpeditionStateType",
|
|
"foreignKey": "typeFk"
|
|
}
|
|
}
|
|
}
|