Theme.js
Home
/
app /
Models /
Theme.js
'use strict'
/** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */
const Model = use('Model')
class Theme extends Model {
elements() {
return this.hasMany('App/Models/Element')
}
}
module.exports = Theme