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

profile.js 306B

1234567891011
  1. const Schwifty = require('@hapipal/schwifty');
  2. const Joi = require('joi');
  3. module.exports = class Profile extends Schwifty.Model {
  4. static get tableName() { return 'profiles' }
  5. static get joiSchema() {
  6. return Joi.object({
  7. profile_id: Joi.number().required(),
  8. })
  9. }
  10. }