package devopsdistilled.operp.server.data.service;

import java.io.Serializable;

import org.springframework.data.jpa.repository.JpaRepository;

public interface EntityService<T, ID extends Serializable> extends
		JpaRepository<T, ID>, Serializable {

}

package devopsdistilled.operp.server.data.service;

import java.io.Serializable;

import org.springframework.data.jpa.repository.JpaRepository;

import devopsdistilled.operp.server.data.entity.Entiti;

public interface EntityService<E extends Entiti, ID extends Serializable> extends
		JpaRepository<E, ID>, Serializable {

}

Change argument type to "E extends Entiti" instead of "T"