package com.cool.store.service;

import com.cool.store.dto.xfsgFirstOderDTO;
import com.cool.store.request.FranchiseAgreementRequest;
import com.cool.store.request.NewStoreRequest;
import com.cool.store.request.xfsgFirstOrderListRequest;
import com.cool.store.response.GetStoreInfoByCodeResponse;
import com.cool.store.response.ResponseResult;
import com.cool.store.response.xfsgFirstOderListResponse;

import java.util.List;

/**
 * 鲜丰水果API（筹备相关）
 * https://apifox.com/apidoc/shared-c48218f7-4a34-4422-8689-927502f171ff/api-164932487
 * 密码：aJJq9F7k
 */
public interface CoolStoreStartFlowService {

    /**
     * 新店开业流程
     * @param request
     * @return
     */
    ResponseResult newStore(NewStoreRequest request,Long shopId);

    /**
     *特许经营合同
     * @param request
     * @param type 1：个人 2：企业
     * @return
     */
    ResponseResult franchiseAgreement(FranchiseAgreementRequest request,Integer type);

    /**
     * @Auther: wangshuo
     * @Date: 2024/4/25
     * @description:获取订货金
     */
    Boolean getFirstOrder(String shopNum);
    /**
     * @Auther: wangshuo
     * @Date: 2024/5/8
     * @description:批量获取订货金
     */
    xfsgFirstOderListResponse getFirstOrderList(xfsgFirstOrderListRequest storeCodeList);
    /**
     * 获取证照信息
     * @param storeNum
     * @return
     */
    GetStoreInfoByCodeResponse getStoreInfoCode(String storeNum);

}
