Arcturus-Community/src/main/java/com/eu/habbo/habbohotel/messenger/FriendRequest.java

41 lines
755 B
Java
Raw Normal View History

2018-07-06 15:30:00 +02:00
package com.eu.habbo.habbohotel.messenger;
import java.sql.ResultSet;
import java.sql.SQLException;
public class FriendRequest
{
private int id;
private String username;
private String look;
public FriendRequest(ResultSet set) throws SQLException
{
this.id = set.getInt("id");
this.username = set.getString("username");
this.look = set.getString("look");
}
public FriendRequest(int id, String username, String look)
{
this.id = id;
this.username = username;
this.look = look;
}
public int getId()
{
return id;
}
public String getUsername()
{
return username;
}
public String getLook()
{
return look;
}
}