hedera-web/back/common/models/state.json

33 lines
423 B
JSON
Raw Normal View History

2019-06-25 08:23:12 +00:00
{
"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"
}
}
}