// Path: app/src/main/java/com/steve/creact/powerfuladapter/presentation/viewholder/ICategory.java
// public interface ICategory {
// 
//     String getName();
//     long getId();
// }


import com.steve.creact.powerfuladapter.presentation.viewholder.ICategory;
package com.steve.creact.powerfuladapter.data;


/**
 * @author:YJJ
 * @date:2016/3/30
 * @email:yangjianjun@117go.com
 */
public class Category implements ICategory {
    private long id;
    private String name = "";

    public Category(long id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public long getId() {
// Path: app/src/main/java/com/steve/creact/powerfuladapter/presentation/viewholder/ICategory.java
// public interface ICategory {
// 
//     String getName();
//     long getId();
// }


// Path: app/src/main/java/com/steve/creact/powerfuladapter/data/Category.java
import com.steve.creact.powerfuladapter.presentation.viewholder.ICategory;

package com.steve.creact.powerfuladapter.data;


/**
 * @author:YJJ
 * @date:2016/3/30
 * @email:yangjianjun@117go.com
 */
public class Category implements ICategory {
    private long id;
    private String name = "";

    public Category(long id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public long getId() {
        return id;