Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dbercht
dbercht / factory_plus_inheritance.js
Last active September 28, 2018 19:58 — forked from fluffybunnies/factory_plus_inheritance.js
Factory + Inheritance
'use strict';
/* At Config.JSON file
*/
// Define the functions all the DAOs must implement
DaoInterfaces: {
ImportDaoInterface: {
ATTRS: [func1, func2, func3, func4]
}
package models
case class Quote(text: String, author: String) {
override def equals(that: Any): Boolean = true
}