'use strict';

const tableConfig = require('./table-config-d70a1046.js');
const string = require('./string-9e6ebf63.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;
