public class UserRelation
extends java.lang.Object
构造器和说明 |
---|
UserRelation(User user,
java.lang.String depart,
java.lang.String role) |
public UserRelation(User user, java.lang.String depart, java.lang.String role)
public void setUser(User user)
public User getUser()
public java.lang.String getDepart()
public void setDepart(java.lang.String depart)
public java.lang.String getRole()
public void setRole(java.lang.String role)
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public JSONObject toJSONObject() throws JSONException
JSONException