change the return type to our planitevent type
Adding hibernate mapping code user and event