package space.anyi.petServiceManagementSystem.server.service; import space.anyi.petServiceManagementSystem.server.common.PageVo; import space.anyi.petServiceManagementSystem.server.dto.appointment.AppointmentDto; import space.anyi.petServiceManagementSystem.server.dto.appointment.HandleCancelDto; import space.anyi.petServiceManagementSystem.server.dto.appointment.ReviewDto; import space.anyi.petServiceManagementSystem.server.vo.appointment.AppointmentVo; import java.util.List; public interface AppointmentService { AppointmentVo create(AppointmentDto dto, Long userId); List list(Long userId); AppointmentVo getById(Long id, Long userId); Boolean cancel(Long id, String reason, Long userId); Boolean payDeposit(Long id, Long userId); PageVo listAll(int pageNum, int pageSize, String status, String type); Boolean review(Long id, ReviewDto dto); Boolean handleCancel(Long id, HandleCancelDto dto); }