package com.ruoyi.web.modules.booking.service;

import java.util.List;
import com.ruoyi.web.modules.booking.domain.AppMyAppointmentQuery;
import com.ruoyi.web.modules.booking.domain.AppMyAppointmentReviewBody;
import com.ruoyi.web.modules.booking.domain.vo.AppMyAppointmentListVo;
import com.ruoyi.web.modules.farming.domain.BizServiceAppointmentReview;

/**
 * 移动端我的预约。
 */
public interface IAppMyAppointmentService
{
    List<AppMyAppointmentListVo> selectMyAppointmentList(AppMyAppointmentQuery query);

    int cancelAppointment(Long id, String createBy, String updateBy);

    BizServiceAppointmentReview selectAppointmentReview(Long appointmentId, String createBy);

    Long submitAppointmentReview(Long appointmentId, AppMyAppointmentReviewBody body, String createBy,
            String reviewerName);
}
