Class for find foreign keys