
package com.superrecycleview.superlibrary.sidebar.bean;

import com.superrecycleview.superlibrary.callback.ISuspensionInterface;

/**
 * 介绍：索引类的标志位的实体基类 作者：zhangxutong 邮箱：mcxtzhang@163.com
 * CSDN：http://blog.csdn.net/zxt0601 时间： 16/09/04.
 */

public abstract class BaseIndexBean implements ISuspensionInterface {
    private String baseIndexTag;// 所属的分类（城市的汉语拼音首字母）

    public String getBaseIndexTag() {
        return baseIndexTag;
    }

    public BaseIndexBean setBaseIndexTag(String baseIndexTag) {
        this.baseIndexTag = baseIndexTag;
        return this;
    }

    @Override
    public String getSuspensionTag() {
        return baseIndexTag;
    }

    @Override
    public boolean isShowSuspension() {
        return true;
    }
}
