您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

authentication.js 313B

123456789101112
  1. const Schwifty = require('@hapipal/schwifty')
  2. const Joi = require('joi')
  3. const { userAuth } = require('../schemas/authentication')
  4. module.exports = class Auth extends Schwifty.Model {
  5. static get tableName() {
  6. return 'authentication'
  7. }
  8. static get joiSchema() {
  9. return userAuth
  10. }
  11. }