generator-neonode
Version:
Yeoman generator to scaffold a Neonode Fullstack MVC Application
19 lines (13 loc) • 329 B
JavaScript
var <%= singular %> = Class('<%= singular %>').inherits(Krypton.Model)({
tableName : <%= name %>
validations : {},
relations : {},
attributes : [],
prototype : {
init : function(config) {
Krypton.Model.prototype.init.call(this, config);
return this;
}
}
});
module.exports = <%= singular %>;