package jnpf.franchisee.fallback;

import jnpf.franchisee.FranchiseeApi;
import jnpf.model.franchisee.vo.FranchiseeIdName;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Collection;
import java.util.List;

@Slf4j
@Component
public class FranchiseeFallbackApi implements FranchiseeApi {
    @Override
    public List<FranchiseeIdName> getFranchiseeIdNameList() {
        log.error("getFranchiseeIdNameList fallback");
        return null;
    }

    @Override
    public List<FranchiseeIdName> getFranchiseeIdNameListByIds(Collection<String> ids) {
        log.error("getFranchiseeIdNameListByIds fallback.ids:{}",ids);
        return null;
    }

    @Override
    public FranchiseeIdName getFranchiseeIdNameListById(String id) {
        log.error("getFranchiseeIdNameListById fallback.id：{}",id);
        return null;
    }

    @Override
    public List<FranchiseeIdName> getFranchiseeIdNameListByName(String name) {
        log.error("getFranchiseeIdNameListByName fallback.name：{}",name);
        return null;
    }

    @Override
    public List<FranchiseeIdName> getFranchiseeIdNameListByNames(Collection<String> names) {
        log.error("getFranchiseeIdNameListByNames fallback.names：{}",names);
        return null;
    }

    @Override
    public FranchiseeIdName getFranchiseeIdNameListByCode(String code) {
        log.error("getFranchiseeIdNameListByCode fallback.names：{}",code);
        return null;
    }

    @Override
    public List<FranchiseeIdName> getFranchiseeIdNameListByCodes(Collection<String> codes) {
        log.error("getFranchiseeIdNameListByCodes fallback.names：{}",codes);
        return null;
    }
}
