package com.ruoyi.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.web.domain.dto.villageCommitteeRole.VillageCommitteeRoleUserAddRequest;
import com.ruoyi.web.domain.dto.villageCommitteeRole.VillageCommitteeRoleUserEditRequest;
import com.ruoyi.web.domain.dto.villageCommitteeRole.VillageCommitteeRoleUserQueryRequest;
import com.ruoyi.web.domain.entity.VillageCommitteeRoleUser;
import com.ruoyi.web.domain.vo.VillageCommitteeRoleUserVO;

import java.util.List;


/**
 *
 */
public interface VillageCommitteeRoleUserService extends IService<VillageCommitteeRoleUser> {

    Integer addVillageCommitteeRoleUser(VillageCommitteeRoleUserAddRequest villageCommitteeRoleUserAddRequest);

    boolean deleteVillageCommitteeRoleUser(String ids);

    void editVillageCommitteeRoleUser(VillageCommitteeRoleUserEditRequest villageCommitteeRoleUserEditRequest);

    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    VillageCommitteeRoleUserVO getVillageCommitteeRoleUserVOById(int id);

    VillageCommitteeRoleUserVO getVillageCommitteeRoleUserVO(VillageCommitteeRoleUser villageCommitteeRoleUser);

    /**
     * 获取列表
     *
     * @param villageCommitteeRoleUserQueryRequest
     * @return
     */
    List<VillageCommitteeRoleUserVO> getListVillageCommitteeRoleUserVO(VillageCommitteeRoleUserQueryRequest villageCommitteeRoleUserQueryRequest);
}
