package com.github.k0kubun.github_ranking.model;

public class User
{
    private final int id;
    private final String type;
    private String login;
    private int stargazersCount;
    private String avatarUrl;

    public User(int id, String type)
    {
        this.id = id;
        this.type = type;
    }

    public Integer getId()
    {
        return id;
    }

    public String getLogin()
    {
        return login;
    }

    public void setLogin(String login)
    {
        this.login = login;
    }

    public int getStargazersCount()
    {
        return stargazersCount;
    }

    public void setStargazersCount(Integer stargazersCount)
    {
        this.stargazersCount = stargazersCount;
    }

    public void setAvatarUrl(String avatarUrl)
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl()
    {
        return avatarUrl;
    }

    public boolean isOrganization()
    {
        return type.equals("Organization");
    }
}

@@ -503,32 +503,94 @@
 = login;%0A    %7D%0A%0A
+    public String getType()%0A    %7B%0A        return type;%0A    %7D%0A%0A
     public int g

Add type getter to User for sql