package com.yuchen.saas.park.service.service.pldoor;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.pldoor.PlDoorPointGroupDTO;
import com.yuchen.saas.park.api.entity.pldoor.PlDoorPointGroup;
import com.yuchen.saas.park.api.vo.pldoor.PlDoorPointGroupLtVO;
import com.yuchen.saas.park.api.vo.pldoor.PlDoorPointGroupVO;
import com.yuchen.saas.park.api.vo.request.PlDoorPointGroupListReq;
import com.yuchen.saas.park.api.vo.request.PlDoorPointGroupReq;

import java.util.List;

/**
 * <p>
 * 门禁组 服务类
 * </p>
 *
 * @author miaoqs
 * @since 2024-04-03
 */
public interface PlDoorPointGroupService extends IService<PlDoorPointGroup> {

    boolean saveOrUpdateByParam(PlDoorPointGroupDTO plDoorPointGroupDTO);

    PlDoorPointGroupVO detailById(Long id);

    boolean deleteById(Long id);

    IPage<PlDoorPointGroupVO> pageByParam(Page<PlDoorPointGroupReq> page, PlDoorPointGroupReq req);

    List<PlDoorPointGroupLtVO> listByParam(PlDoorPointGroupListReq req);

}
