package com.eactive.eai.rms.data.entity.onl.property;

import java.util.List;

import org.springframework.data.jpa.repository.EntityGraph;
import org.springframework.data.jpa.repository.EntityGraph.EntityGraphType;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;

import com.eactive.eai.data.entity.onl.property.PropGroup;
import com.eactive.eai.data.jpa.BaseRepository;

interface PropGroupRepository extends BaseRepository<PropGroup, String>, QuerydslPredicateExecutor<PropGroup> {

	@EntityGraph(type = EntityGraphType.FETCH, attributePaths = "props")
	@Override
	List<PropGroup> findAll();

}
