@@ -0,0 +1,379 @@
+package com.huixinpn.dionysus.service;%0A%0Aimport com.huixinpn.dionysus.repository.AppointmentRepository;%0Aimport org.springframework.data.rest.core.annotation.RepositoryRestResource;%0A%0A/**%0A * Created by huanghao on 4/5/15.%0A */%0A%0A@RepositoryRestResource(collectionResourceRel = %22appointments%22, path=%22appointments%22)%0Apublic interface AppointmentService extends AppointmentRepository %7B%0A%7D%0A

add service for appointment