@Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ChatGroupUser other = (ChatGroupUser) that;
        return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
            && (this.getChatGroupId() == null ? other.getChatGroupId() == null : this.getChatGroupId().equals(other.getChatGroupId()))
            && (this.getChatGroupUserRealName() == null ? other.getChatGroupUserRealName() == null : this.getChatGroupUserRealName().equals(other.getChatGroupUserRealName()))
            && (this.getChatGroupUserRole() == null ? other.getChatGroupUserRole() == null : this.getChatGroupUserRole().equals(other.getChatGroupUserRole()))
            && (this.getChatGroupUserUpdateTime() == null ? other.getChatGroupUserUpdateTime() == null : this.getChatGroupUserUpdateTime().equals(other.getChatGroupUserUpdateTime()));
    }
This method was generated by MyBatis Generator.
This method corresponds to the database table chat_group_user

@mbg.generated
AnyChatServer/src/main/java/org/anychat/model/base/ChatGroupUser.java