package org.dromara.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.domain.residentInfo.ResidentInfo;
import org.dromara.domain.residentInfo.vo.ResidentInfoVo;

/**
 * 居住人员信息，存储居住人员的详细信息Mapper接口
 *
 * @author boman
 * @date 2025-04-11
 */
public interface ResidentInfoMapper extends BaseMapperPlus<ResidentInfo, ResidentInfoVo> {

    @InterceptorIgnore(tenantLine = "true", dataPermission = "false")
    ResidentInfoVo getInfoByUserId(Long userId);

}
