This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
seepur/app/Models/Link.js

16 lines
280 B
JavaScript
Raw Normal View History

'use strict'
/** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */
const Model = use('Model')
class Link extends Model {
2020-03-17 22:16:34 +00:00
user() {
return this.belongsTo('App/Models/User')
}
child() {
return this.belongsTo('App/Models/Child')
}
}
module.exports = Link