package net.simplifiedlearning.myheroapp;

import java.io.Serializable;

/**
 * Created by Belal on 9/9/2017.
 */

class Hero {
    private int id;
    private String name, realname;
    private int rating;
    private String teamaffiliation;

    public Hero(int id, String name, String realname, int rating, String teamaffiliation) {
        this.id = id;
        this.name = name;
        this.realname = realname;
        this.rating = rating;
        this.teamaffiliation = teamaffiliation;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getRealname() {
        return realname;
    }

    public int getRating() {
        return rating;
    }

    public String getTeamaffiliation() {
        return teamaffiliation;
    }
}
