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

1234567891011
  1. const Schwifty = require('@hapipal/schwifty')
  2. const membershipSchema = require('../schemas/memberships')
  3. module.exports = class Membership extends Schwifty.Model {
  4. static get tableName() {
  5. return 'memberships'
  6. }
  7. static get joiSchema() {
  8. return membershipSchema.single
  9. }
  10. }