backend/app/models/api/NodeData.model.js

22 lines
501 B
JavaScript
Raw Normal View History

const Model = require("flitter-orm/src/model/Model");
/*
* NodeData Model
* -------------------------------------------------------------
* Put some description here!
*/
class NodeData extends Model {
static get schema() {
// Return a flitter-orm schema here.
return {
// Will add
Mode: { type: String, default: "norm" }, //Select the value (norm = string)
Value: String
};
}
// Static and instance methods can go here
}
module.exports = exports = NodeData;