@Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getChatId() == null) ? 0 : getChatId().hashCode());
        result = prime * result + ((getChatContent() == null) ? 0 : getChatContent().hashCode());
        result = prime * result + ((getFromUserId() == null) ? 0 : getFromUserId().hashCode());
        result = prime * result + ((getToType() == null) ? 0 : getToType().hashCode());
        result = prime * result + ((getToTypeId() == null) ? 0 : getToTypeId().hashCode());
        result = prime * result + ((getChatState() == null) ? 0 : getChatState().hashCode());
        result = prime * result + ((getChatType() == null) ? 0 : getChatType().hashCode());
        result = prime * result + ((getChatCreateTime() == null) ? 0 : getChatCreateTime().hashCode());
        return result;
    }
This method was generated by MyBatis Generator.
This method corresponds to the database table chat

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