Class EntityResource<T extends EntityInterface,​K extends EntityRepository<T>>