package com.supervision.web.peopleGateManage.Service;

import java.util.List;

public interface PeopleDeviceService {

    void addRelation(String personId, Long deviceId);

    void bindPersonToDevice(String personId, Long deviceId);

    void bindPersonToDevices(String personId, List<Long> deviceIds);

    void unbindPersonFromDevice(String personId, Long deviceId);

    List<Long> getDevicesByPerson(String personId);

    List<String> getPersonsByDevice(Long deviceId);

}
