const { single } = require('../schemas/user') const Schwifty = require('@hapipal/schwifty') /** * @typedef User */ module.exports = class User extends Schwifty.Model { static get tableName() { return 'users' } static get joiSchema() { return single } }