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()
|
|
|
|
{
|
2019-03-18 02:22:00 +01:00
|
|
|
return this.id;
|
2018-07-06 15:30:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getUsername()
|
|
|
|
{
|
2019-03-18 02:22:00 +01:00
|
|
|
return this.username;
|
2018-07-06 15:30:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getLook()
|
|
|
|
{
|
2019-03-18 02:22:00 +01:00
|
|
|
return this.look;
|
2018-07-06 15:30:00 +02:00
|
|
|
}
|
|
|
|
}
|