Creating entities for persistence and web service in movile application.