Files
IM-server-new/broker/src/main/java/com/xiaoleilu/loServer/model/FriendData.java
T

72 lines
1.5 KiB
Java
Raw Normal View History

2019-03-16 17:04:23 +08:00
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package com.xiaoleilu.loServer.model;
import java.io.Serializable;
public class FriendData implements Serializable {
private String userId;
private String friendUid;
2019-05-02 21:43:01 +08:00
private String alias;
2019-03-16 17:04:23 +08:00
private int state;
private long timestamp;
2019-05-02 21:43:01 +08:00
public FriendData(String userId, String friendUid, String alias, int state, long timestamp) {
2019-03-16 17:04:23 +08:00
this.userId = userId;
this.friendUid = friendUid;
2019-05-02 21:43:01 +08:00
this.alias = alias;
2019-03-16 17:04:23 +08:00
this.state = state;
this.timestamp = timestamp;
}
public FriendData() {
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getFriendUid() {
return friendUid;
}
public void setFriendUid(String friendUid) {
this.friendUid = friendUid;
}
2019-05-02 21:43:01 +08:00
public String getAlias() {
return alias;
}
public void setAlias(String alias) {
this.alias = alias;
}
2019-03-16 17:04:23 +08:00
public int getState() {
return state;
}
public void setState(int state) {
this.state = state;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
}