forked from juan/hedera-web
33 lines
423 B
JSON
33 lines
423 B
JSON
{
|
|
"name": "State",
|
|
"base": "PersistedModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "state"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "Number",
|
|
"forceId": false
|
|
},
|
|
"name": {
|
|
"type": "String"
|
|
},
|
|
"order": {
|
|
"type": "Number"
|
|
},
|
|
"code": {
|
|
"type": "String"
|
|
}
|
|
},
|
|
"relations": {
|
|
"level": {
|
|
"type": "belongsTo",
|
|
"model": "AlertLevel",
|
|
"foreignKey": "alertLevel"
|
|
}
|
|
}
|
|
}
|