usage of annotation to find primary keys