refs #5858 feat zoneIncludedCheck model
This commit is contained in:
parent
2d4fb9d2f8
commit
243319b113
|
@ -32,6 +32,9 @@
|
|||
"ZoneIncluded": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"ZoneIncludedCheck": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"ZoneWarehouse": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"name": "ZoneIncludedCheck",
|
||||
"base": "Loggable",
|
||||
"options": {
|
||||
"mysql": {
|
||||
"table": "zoneIncludedCheck"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"id": {
|
||||
"id": true,
|
||||
"type": "number"
|
||||
},
|
||||
"zoneFk": {
|
||||
"type": "int"
|
||||
},
|
||||
"geoFk": {
|
||||
"type": "int"
|
||||
},
|
||||
"userFk": {
|
||||
"type": "int"
|
||||
},
|
||||
"action": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
"zone": {
|
||||
"type": "belongsTo",
|
||||
"model": "Zone",
|
||||
"foreignKey": "zoneFk"
|
||||
},
|
||||
"geo": {
|
||||
"type": "belongsTo",
|
||||
"model": "ZoneGeo",
|
||||
"foreignKey": "geoFk"
|
||||
},
|
||||
"user": {
|
||||
"type": "belongsTo",
|
||||
"model": "VnUser",
|
||||
"foreignKey": "userFk"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue