entity for rest apps