32 lines
564 B
JSON
32 lines
564 B
JSON
{
|
|
"name": "MdbApp",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "mdbApp"
|
|
}
|
|
},
|
|
"properties": {
|
|
"app": {
|
|
"type": "string",
|
|
"description": "The app name",
|
|
"id": true
|
|
},
|
|
"locked": {
|
|
"type": "date"
|
|
}
|
|
},
|
|
"relations": {
|
|
"branch": {
|
|
"type": "belongsTo",
|
|
"model": "MdbBranch",
|
|
"foreignKey": "baselineBranchFk"
|
|
},
|
|
"user": {
|
|
"type": "belongsTo",
|
|
"model": "MdbBranch",
|
|
"foreignKey": "userFk"
|
|
}
|
|
}
|
|
}
|