package com.happy.service;

import com.happy.Model.Booking;
import com.happy.dto.IPage;

import java.text.ParseException;
import java.util.List;

public interface AppBookService {


    /**
     * 创建订单信息
     * @param houseId
     * @param startTime
     * @param endTime
     * @param houseOrderNumber
     * @param userName
     * @param userPhone
     * @param userId
     * @return
     */
    public String createOrder(String bookingId, String houseId,String startTime,String endTime,String houseOrderNumber,String userName,String userPhone, String userId,String complaintId,String useId) throws ParseException;


//    /**
//     * 再次预订订单信息
//     * @param houseId
//     * @param startTime
//     * @param endTime
//     * @param houseOrderNumber
//     * @param userName
//     * @param userPhone
//     * @param userId
//     * @return
//     */
//    public String reCreateOrder(String houseId,String startTime,String endTime,String houseOrderNumber,String userName,String userPhone, String userId);

    /**
     * 验证单个房间是否
     * @param houseId
     * @param startTime
     * @param endTime

     * @return
     */
    public String varificationHouse(String houseId, String startTime, String endTime, String houseOrderNumber) ;


}
