72 lines
1.5 KiB
Java
72 lines
1.5 KiB
Java
/*
|
|||
|
|
* 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;
|
||
private String alias;
|
|||
private int state;
|
|||
|
|
private long timestamp;
|
||
|
|
|
||
|
|
|
||
public FriendData(String userId, String friendUid, String alias, int state, long timestamp) {
|
|||
this.userId = userId;
|
|||
|
|
this.friendUid = friendUid;
|
||
this.alias = alias;
|
|||
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;
|
||
|
|
}
|
||
|
|
|
||
public String getAlias() {
|
|||
|
|
return alias;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAlias(String alias) {
|
||
|
|
this.alias = alias;
|
||
|
|
}
|
||
|
|
|
||
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;
|
||
|
|
}
|
||
|
|
}
|