o, you mean visa versa? in this case you may want to use IDs and make a function for getting a struct for entity