class MemberRole {

    @Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        MemberRole other = (MemberRole) obj;
        if (expiration != other.expiration) {
            return false;
        }
        if (role == null) {
            return other.role == null;
        } else {
            return role.equals(other.role);
        }
    }

    public  MemberRole(String role, long expiration);

}