package com.sptg.estate.biz.service;

import com.baomidou.mybatisplus.service.IService;
import com.sptg.common.core.beans.ResultBean;
import com.sptg.estate.api.dto.ThirdUserDto;
import com.sptg.estate.api.entity.ThirdUser;

import java.util.List;

/**
 * title: UserServiceInterface
 * package: com.sptg.estate.biz.security
 * description: 住户 服务层接口
 *
 *
 *
 */
public interface ThirdUserServiceInterface extends IService<ThirdUser> {

    ResultBean<Boolean> addUser(ThirdUserDto userDto);

    ThirdUser findUserById(Long id);

    boolean updateEntity(ThirdUser user);

    List<ThirdUser> getListByCondition(ThirdUserDto dto);

    ResultBean<Boolean> updateUser(ThirdUserDto userDto);

    ResultBean<Boolean> deleteUser(ThirdUserDto userDto);
}
