'use strict';

const tableConfig = require('./table-config-be88299b.js');
const string = require('./string-de672b69.js');

class MembershipConfig extends tableConfig.TableConfig {
  static decode(json) {
    const model = Object.assign(Object.create(MembershipConfig.prototype), json);
    model.fields = tableConfig.decodeFields(model.fields);
    model.space = tableConfig.Space.decode(model.space);
    return model;
  }
  roleNameCapital() {
    return string.capitalize(this.roleName);
  }
  ;
}

exports.MembershipConfig = MembershipConfig;
