add getter in ForeignKey