15 lines
271 B
JavaScript
15 lines
271 B
JavaScript
'use strict';
|
|
|
|
const container = require('../Container');
|
|
const Model = container.getBase('Model');
|
|
const Config = container.getBase('Config');
|
|
|
|
class DBModel extends Model {
|
|
constructor() {
|
|
super();
|
|
|
|
this.db = Config.get('database');
|
|
}
|
|
}
|
|
|
|
module.exports = DBModel; |