code: function applyMethods(entity, schema) {
      Object.keys(schema.methods).forEach((method) => {
          entity[method] = schema.methods[method];
      });
      return entity;
  }
docs: Add custom methods declared on the Schema to the Entity Class
  
  @param {Entity} entity Model.prototype
  @param {any} schema Model Schema
  @returns Model.prototype