package org.chuchu.sc.service.inter;

import java.util.List;

import org.chuchu.sc.model.ParkingAllocation;
import org.chuchu.sc.model.ParkingLot;

public interface IParkingService {

	public long addParkingLot (ParkingLot parkingLot);
	public long addParkingAllocation (ParkingAllocation parkingAllocation);
	public long updateParkingLot (ParkingLot parkingLot);
	public long updateParkingAllocation (ParkingAllocation parkingAllocation);
	public long deleteParkingLot (long id);
	public long deleteParkingAllocation (long id);
	public ParkingLot getParkingLotById (long id);
	public List<ParkingLot> getParkingLotsByCommunityId (long id);
	public ParkingAllocation getParkingAllocationById (long id);
	public ParkingAllocation getParkingAllocationByParkingLotId (long id);
	public ParkingAllocation getParkingAllocationByCarId (long id);
}
