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

35 lines
750 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;
2019-05-26 20:14:53 +02:00
public class FriendRequest {
2018-07-06 15:30:00 +02:00
private int id;
private String username;
private String look;
2019-05-26 20:14:53 +02:00
public FriendRequest(ResultSet set) throws SQLException {
2018-07-06 15:30:00 +02:00
this.id = set.getInt("id");
this.username = set.getString("username");
this.look = set.getString("look");
}
2019-05-26 20:14:53 +02:00
public FriendRequest(int id, String username, String look) {
2018-07-06 15:30:00 +02:00
this.id = id;
this.username = username;
this.look = look;
}
2019-05-26 20:14:53 +02:00
public int getId() {
2019-03-18 02:22:00 +01:00
return this.id;
2018-07-06 15:30:00 +02:00
}
2019-05-26 20:14:53 +02:00
public String getUsername() {
2019-03-18 02:22:00 +01:00
return this.username;
2018-07-06 15:30:00 +02:00
}
2019-05-26 20:14:53 +02:00
public String getLook() {
2019-03-18 02:22:00 +01:00
return this.look;
2018-07-06 15:30:00 +02:00
}
}