package com.tofly.ghrq_route.module;

import java.util.List;

public class IModelContact {
    public interface IGetListDataCallback<T>{
        void getDataList(List<T> dataList, int total);
        void onError(int errCode, String errMsg);
    }

    public interface IGetDataCallback<T>{
        void getData(T data);
        void onError(int errCode, String errMsg);
    }

    public interface ISetDataCallback{
        void onSetDataOk();
        void onError(int errCode, String errMsg);
    }
}
