Contact.js

15 lines | 242 B Blame History Raw Download
'use strict'

/** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */
const Model = use('Model')

class Contact extends Model {

  organization() {
    return this.belongsTo('App/Models/Organization')
  }

}

module.exports = Contact