@Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ChatGroup other = (ChatGroup) that;
        return (this.getChatGroupId() == null ? other.getChatGroupId() == null : this.getChatGroupId().equals(other.getChatGroupId()))
            && (this.getChatGroupName() == null ? other.getChatGroupName() == null : this.getChatGroupName().equals(other.getChatGroupName()))
            && (this.getChatGroupCreateTime() == null ? other.getChatGroupCreateTime() == null : this.getChatGroupCreateTime().equals(other.getChatGroupCreateTime()))
            && (this.getUserGroupId() == null ? other.getUserGroupId() == null : this.getUserGroupId().equals(other.getUserGroupId()));
    }
This method was generated by MyBatis Generator.
This method corresponds to the database table chat_group

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