Use salat to map db objects to case classes