package com.kxs.user.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kxs.user.api.model.KxsUserAddress;
import com.kxs.user.api.vo.kxsapp.userAddress.UserAddressListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 用户收货地址表(KxsUserAddress)表数据库访问层
 *
 * @author 系统
 * @since 2024-01-03 09:39:55
 */
@Mapper
public interface KxsUserAddressMapper extends BaseMapper<KxsUserAddress> {

    /**
     * 用户地址列表
     *
     * @param userId 用户 ID
     * @return {@link List}<{@link UserAddressListVO}>
     */
    List<UserAddressListVO> userAddressList(Long userId);
}

