package com.fjhx.account.service.loan;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjhx.account.entity.loan.dto.LoanInfoDto;
import com.fjhx.account.entity.loan.dto.LoanInfoSelectDto;
import com.fjhx.account.entity.loan.po.LoanInfo;
import com.fjhx.account.entity.loan.vo.LoanInfoVo;
import com.ruoyi.common.core.service.BaseService;

import java.util.List;


/**
 * <p>
 * 借款信息 服务类
 * </p>
 *
 * @author
 * @since 2023-09-15
 */
public interface LoanInfoService extends BaseService<LoanInfo> {

    /**
     * 借款信息分页
     */
    Page<LoanInfoVo> getPage(LoanInfoSelectDto dto);

    /**
     * 借款人列表
     */
    List<LoanInfo> getLoanUserList();

    /**
     * 借款信息明细
     */
    LoanInfoVo detail(Long id);

    /**
     * 借款信息新增
     */
    void add(LoanInfoDto loanInfoDto);

}
