dto tweaks

decided to store the foreign key in the object instead of the object; if
we need the object, we can get it in the controller through the dao of
that object