package com.sunxung.factoring.service.financing.apply;

import com.sunxung.factoring.entity.financing.apply.CFinancingBasicInfo;
import com.sunxung.factoring.entity.financing.apply.vo.FinancingApplyVo;
import com.sunxung.factoring.entity.financing.review.ReviewQuotaDisburse;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description : 融资申请service
 * @Author : L.Jia
 * @Date: 2023-12-18 11:05
 */
@RestController
public interface FinancingApplyService {

    /**
     * 融资申请-额度支用页面
     *
     * @param id
     * @return
     */
    ReviewQuotaDisburse apply(Long id);

    /**
     * 开启融资申请审批流程
     *
     * @param financingBasicInfo
     */
    void startProcess(CFinancingBasicInfo financingBasicInfo);

    /**
     * 查看详情
     *
     * @param id
     * @return
     */
    FinancingApplyVo getView(Long id);
}
