package com.gyee.frame.model.auto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ChatDetailExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public ChatDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSendingidIsNull() {
            addCriterion("sendingid is null");
            return (Criteria) this;
        }

        public Criteria andSendingidIsNotNull() {
            addCriterion("sendingid is not null");
            return (Criteria) this;
        }

        public Criteria andSendingidEqualTo(String value) {
            addCriterion("sendingid =", value, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidNotEqualTo(String value) {
            addCriterion("sendingid <>", value, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidGreaterThan(String value) {
            addCriterion("sendingid >", value, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidGreaterThanOrEqualTo(String value) {
            addCriterion("sendingid >=", value, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidLessThan(String value) {
            addCriterion("sendingid <", value, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidLessThanOrEqualTo(String value) {
            addCriterion("sendingid <=", value, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidLike(String value) {
            addCriterion("sendingid like", value, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidNotLike(String value) {
            addCriterion("sendingid not like", value, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidIn(List<String> values) {
            addCriterion("sendingid in", values, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidNotIn(List<String> values) {
            addCriterion("sendingid not in", values, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidBetween(String value1, String value2) {
            addCriterion("sendingid between", value1, value2, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingidNotBetween(String value1, String value2) {
            addCriterion("sendingid not between", value1, value2, "sendingid");
            return (Criteria) this;
        }

        public Criteria andSendingnameIsNull() {
            addCriterion("sendingname is null");
            return (Criteria) this;
        }

        public Criteria andSendingnameIsNotNull() {
            addCriterion("sendingname is not null");
            return (Criteria) this;
        }

        public Criteria andSendingnameEqualTo(String value) {
            addCriterion("sendingname =", value, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameNotEqualTo(String value) {
            addCriterion("sendingname <>", value, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameGreaterThan(String value) {
            addCriterion("sendingname >", value, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameGreaterThanOrEqualTo(String value) {
            addCriterion("sendingname >=", value, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameLessThan(String value) {
            addCriterion("sendingname <", value, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameLessThanOrEqualTo(String value) {
            addCriterion("sendingname <=", value, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameLike(String value) {
            addCriterion("sendingname like", value, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameNotLike(String value) {
            addCriterion("sendingname not like", value, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameIn(List<String> values) {
            addCriterion("sendingname in", values, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameNotIn(List<String> values) {
            addCriterion("sendingname not in", values, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameBetween(String value1, String value2) {
            addCriterion("sendingname between", value1, value2, "sendingname");
            return (Criteria) this;
        }

        public Criteria andSendingnameNotBetween(String value1, String value2) {
            addCriterion("sendingname not between", value1, value2, "sendingname");
            return (Criteria) this;
        }

        public Criteria andChattimeIsNull() {
            addCriterion("chattime is null");
            return (Criteria) this;
        }

        public Criteria andChattimeIsNotNull() {
            addCriterion("chattime is not null");
            return (Criteria) this;
        }

        public Criteria andChattimeEqualTo(Date value) {
            addCriterion("chattime =", value, "chattime");
            return (Criteria) this;
        }

        public Criteria andChattimeNotEqualTo(Date value) {
            addCriterion("chattime <>", value, "chattime");
            return (Criteria) this;
        }

        public Criteria andChattimeGreaterThan(Date value) {
            addCriterion("chattime >", value, "chattime");
            return (Criteria) this;
        }

        public Criteria andChattimeGreaterThanOrEqualTo(Date value) {
            addCriterion("chattime >=", value, "chattime");
            return (Criteria) this;
        }

        public Criteria andChattimeLessThan(Date value) {
            addCriterion("chattime <", value, "chattime");
            return (Criteria) this;
        }

        public Criteria andChattimeLessThanOrEqualTo(Date value) {
            addCriterion("chattime <=", value, "chattime");
            return (Criteria) this;
        }

        public Criteria andChattimeIn(List<Date> values) {
            addCriterion("chattime in", values, "chattime");
            return (Criteria) this;
        }

        public Criteria andChattimeNotIn(List<Date> values) {
            addCriterion("chattime not in", values, "chattime");
            return (Criteria) this;
        }

        public Criteria andChattimeBetween(Date value1, Date value2) {
            addCriterion("chattime between", value1, value2, "chattime");
            return (Criteria) this;
        }

        public Criteria andChattimeNotBetween(Date value1, Date value2) {
            addCriterion("chattime not between", value1, value2, "chattime");
            return (Criteria) this;
        }

        public Criteria andPointtoIsNull() {
            addCriterion("pointto is null");
            return (Criteria) this;
        }

        public Criteria andPointtoIsNotNull() {
            addCriterion("pointto is not null");
            return (Criteria) this;
        }

        public Criteria andPointtoEqualTo(String value) {
            addCriterion("pointto =", value, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoNotEqualTo(String value) {
            addCriterion("pointto <>", value, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoGreaterThan(String value) {
            addCriterion("pointto >", value, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoGreaterThanOrEqualTo(String value) {
            addCriterion("pointto >=", value, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoLessThan(String value) {
            addCriterion("pointto <", value, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoLessThanOrEqualTo(String value) {
            addCriterion("pointto <=", value, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoLike(String value) {
            addCriterion("pointto like", value, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoNotLike(String value) {
            addCriterion("pointto not like", value, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoIn(List<String> values) {
            addCriterion("pointto in", values, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoNotIn(List<String> values) {
            addCriterion("pointto not in", values, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoBetween(String value1, String value2) {
            addCriterion("pointto between", value1, value2, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoNotBetween(String value1, String value2) {
            addCriterion("pointto not between", value1, value2, "pointto");
            return (Criteria) this;
        }

        public Criteria andPointtoidIsNull() {
            addCriterion("pointtoid is null");
            return (Criteria) this;
        }

        public Criteria andPointtoidIsNotNull() {
            addCriterion("pointtoid is not null");
            return (Criteria) this;
        }

        public Criteria andPointtoidEqualTo(String value) {
            addCriterion("pointtoid =", value, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidNotEqualTo(String value) {
            addCriterion("pointtoid <>", value, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidGreaterThan(String value) {
            addCriterion("pointtoid >", value, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidGreaterThanOrEqualTo(String value) {
            addCriterion("pointtoid >=", value, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidLessThan(String value) {
            addCriterion("pointtoid <", value, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidLessThanOrEqualTo(String value) {
            addCriterion("pointtoid <=", value, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidLike(String value) {
            addCriterion("pointtoid like", value, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidNotLike(String value) {
            addCriterion("pointtoid not like", value, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidIn(List<String> values) {
            addCriterion("pointtoid in", values, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidNotIn(List<String> values) {
            addCriterion("pointtoid not in", values, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidBetween(String value1, String value2) {
            addCriterion("pointtoid between", value1, value2, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andPointtoidNotBetween(String value1, String value2) {
            addCriterion("pointtoid not between", value1, value2, "pointtoid");
            return (Criteria) this;
        }

        public Criteria andChattypesIsNull() {
            addCriterion("chattypes is null");
            return (Criteria) this;
        }

        public Criteria andChattypesIsNotNull() {
            addCriterion("chattypes is not null");
            return (Criteria) this;
        }

        public Criteria andChattypesEqualTo(String value) {
            addCriterion("chattypes =", value, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesNotEqualTo(String value) {
            addCriterion("chattypes <>", value, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesGreaterThan(String value) {
            addCriterion("chattypes >", value, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesGreaterThanOrEqualTo(String value) {
            addCriterion("chattypes >=", value, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesLessThan(String value) {
            addCriterion("chattypes <", value, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesLessThanOrEqualTo(String value) {
            addCriterion("chattypes <=", value, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesLike(String value) {
            addCriterion("chattypes like", value, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesNotLike(String value) {
            addCriterion("chattypes not like", value, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesIn(List<String> values) {
            addCriterion("chattypes in", values, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesNotIn(List<String> values) {
            addCriterion("chattypes not in", values, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesBetween(String value1, String value2) {
            addCriterion("chattypes between", value1, value2, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChattypesNotBetween(String value1, String value2) {
            addCriterion("chattypes not between", value1, value2, "chattypes");
            return (Criteria) this;
        }

        public Criteria andChatcontentIsNull() {
            addCriterion("chatcontent is null");
            return (Criteria) this;
        }

        public Criteria andChatcontentIsNotNull() {
            addCriterion("chatcontent is not null");
            return (Criteria) this;
        }

        public Criteria andChatcontentEqualTo(String value) {
            addCriterion("chatcontent =", value, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentNotEqualTo(String value) {
            addCriterion("chatcontent <>", value, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentGreaterThan(String value) {
            addCriterion("chatcontent >", value, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentGreaterThanOrEqualTo(String value) {
            addCriterion("chatcontent >=", value, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentLessThan(String value) {
            addCriterion("chatcontent <", value, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentLessThanOrEqualTo(String value) {
            addCriterion("chatcontent <=", value, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentLike(String value) {
            addCriterion("chatcontent like", value, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentNotLike(String value) {
            addCriterion("chatcontent not like", value, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentIn(List<String> values) {
            addCriterion("chatcontent in", values, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentNotIn(List<String> values) {
            addCriterion("chatcontent not in", values, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentBetween(String value1, String value2) {
            addCriterion("chatcontent between", value1, value2, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andChatcontentNotBetween(String value1, String value2) {
            addCriterion("chatcontent not between", value1, value2, "chatcontent");
            return (Criteria) this;
        }

        public Criteria andRemark1IsNull() {
            addCriterion("remark1 is null");
            return (Criteria) this;
        }

        public Criteria andRemark1IsNotNull() {
            addCriterion("remark1 is not null");
            return (Criteria) this;
        }

        public Criteria andRemark1EqualTo(String value) {
            addCriterion("remark1 =", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1NotEqualTo(String value) {
            addCriterion("remark1 <>", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1GreaterThan(String value) {
            addCriterion("remark1 >", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1GreaterThanOrEqualTo(String value) {
            addCriterion("remark1 >=", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1LessThan(String value) {
            addCriterion("remark1 <", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1LessThanOrEqualTo(String value) {
            addCriterion("remark1 <=", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1Like(String value) {
            addCriterion("remark1 like", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1NotLike(String value) {
            addCriterion("remark1 not like", value, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1In(List<String> values) {
            addCriterion("remark1 in", values, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1NotIn(List<String> values) {
            addCriterion("remark1 not in", values, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1Between(String value1, String value2) {
            addCriterion("remark1 between", value1, value2, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark1NotBetween(String value1, String value2) {
            addCriterion("remark1 not between", value1, value2, "remark1");
            return (Criteria) this;
        }

        public Criteria andRemark2IsNull() {
            addCriterion("remark2 is null");
            return (Criteria) this;
        }

        public Criteria andRemark2IsNotNull() {
            addCriterion("remark2 is not null");
            return (Criteria) this;
        }

        public Criteria andRemark2EqualTo(String value) {
            addCriterion("remark2 =", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotEqualTo(String value) {
            addCriterion("remark2 <>", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2GreaterThan(String value) {
            addCriterion("remark2 >", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2GreaterThanOrEqualTo(String value) {
            addCriterion("remark2 >=", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2LessThan(String value) {
            addCriterion("remark2 <", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2LessThanOrEqualTo(String value) {
            addCriterion("remark2 <=", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2Like(String value) {
            addCriterion("remark2 like", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotLike(String value) {
            addCriterion("remark2 not like", value, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2In(List<String> values) {
            addCriterion("remark2 in", values, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotIn(List<String> values) {
            addCriterion("remark2 not in", values, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2Between(String value1, String value2) {
            addCriterion("remark2 between", value1, value2, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark2NotBetween(String value1, String value2) {
            addCriterion("remark2 not between", value1, value2, "remark2");
            return (Criteria) this;
        }

        public Criteria andRemark3IsNull() {
            addCriterion("remark3 is null");
            return (Criteria) this;
        }

        public Criteria andRemark3IsNotNull() {
            addCriterion("remark3 is not null");
            return (Criteria) this;
        }

        public Criteria andRemark3EqualTo(String value) {
            addCriterion("remark3 =", value, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3NotEqualTo(String value) {
            addCriterion("remark3 <>", value, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3GreaterThan(String value) {
            addCriterion("remark3 >", value, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3GreaterThanOrEqualTo(String value) {
            addCriterion("remark3 >=", value, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3LessThan(String value) {
            addCriterion("remark3 <", value, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3LessThanOrEqualTo(String value) {
            addCriterion("remark3 <=", value, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3Like(String value) {
            addCriterion("remark3 like", value, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3NotLike(String value) {
            addCriterion("remark3 not like", value, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3In(List<String> values) {
            addCriterion("remark3 in", values, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3NotIn(List<String> values) {
            addCriterion("remark3 not in", values, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3Between(String value1, String value2) {
            addCriterion("remark3 between", value1, value2, "remark3");
            return (Criteria) this;
        }

        public Criteria andRemark3NotBetween(String value1, String value2) {
            addCriterion("remark3 not between", value1, value2, "remark3");
            return (Criteria) this;
        }

        public Criteria andNumericdateIsNull() {
            addCriterion("numericdate is null");
            return (Criteria) this;
        }

        public Criteria andNumericdateIsNotNull() {
            addCriterion("numericdate is not null");
            return (Criteria) this;
        }

        public Criteria andNumericdateEqualTo(Long value) {
            addCriterion("numericdate =", value, "numericdate");
            return (Criteria) this;
        }

        public Criteria andNumericdateNotEqualTo(Long value) {
            addCriterion("numericdate <>", value, "numericdate");
            return (Criteria) this;
        }

        public Criteria andNumericdateGreaterThan(Long value) {
            addCriterion("numericdate >", value, "numericdate");
            return (Criteria) this;
        }

        public Criteria andNumericdateGreaterThanOrEqualTo(Long value) {
            addCriterion("numericdate >=", value, "numericdate");
            return (Criteria) this;
        }

        public Criteria andNumericdateLessThan(Long value) {
            addCriterion("numericdate <", value, "numericdate");
            return (Criteria) this;
        }

        public Criteria andNumericdateLessThanOrEqualTo(Long value) {
            addCriterion("numericdate <=", value, "numericdate");
            return (Criteria) this;
        }

        public Criteria andNumericdateIn(List<Long> values) {
            addCriterion("numericdate in", values, "numericdate");
            return (Criteria) this;
        }

        public Criteria andNumericdateNotIn(List<Long> values) {
            addCriterion("numericdate not in", values, "numericdate");
            return (Criteria) this;
        }

        public Criteria andNumericdateBetween(Long value1, Long value2) {
            addCriterion("numericdate between", value1, value2, "numericdate");
            return (Criteria) this;
        }

        public Criteria andNumericdateNotBetween(Long value1, Long value2) {
            addCriterion("numericdate not between", value1, value2, "numericdate");
            return (Criteria) this;
        }

        public Criteria andSendingipIsNull() {
            addCriterion("sendingip is null");
            return (Criteria) this;
        }

        public Criteria andSendingipIsNotNull() {
            addCriterion("sendingip is not null");
            return (Criteria) this;
        }

        public Criteria andSendingipEqualTo(String value) {
            addCriterion("sendingip =", value, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipNotEqualTo(String value) {
            addCriterion("sendingip <>", value, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipGreaterThan(String value) {
            addCriterion("sendingip >", value, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipGreaterThanOrEqualTo(String value) {
            addCriterion("sendingip >=", value, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipLessThan(String value) {
            addCriterion("sendingip <", value, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipLessThanOrEqualTo(String value) {
            addCriterion("sendingip <=", value, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipLike(String value) {
            addCriterion("sendingip like", value, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipNotLike(String value) {
            addCriterion("sendingip not like", value, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipIn(List<String> values) {
            addCriterion("sendingip in", values, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipNotIn(List<String> values) {
            addCriterion("sendingip not in", values, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipBetween(String value1, String value2) {
            addCriterion("sendingip between", value1, value2, "sendingip");
            return (Criteria) this;
        }

        public Criteria andSendingipNotBetween(String value1, String value2) {
            addCriterion("sendingip not between", value1, value2, "sendingip");
            return (Criteria) this;
        }

        public Criteria andReceiveipIsNull() {
            addCriterion("receiveip is null");
            return (Criteria) this;
        }

        public Criteria andReceiveipIsNotNull() {
            addCriterion("receiveip is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveipEqualTo(String value) {
            addCriterion("receiveip =", value, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipNotEqualTo(String value) {
            addCriterion("receiveip <>", value, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipGreaterThan(String value) {
            addCriterion("receiveip >", value, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipGreaterThanOrEqualTo(String value) {
            addCriterion("receiveip >=", value, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipLessThan(String value) {
            addCriterion("receiveip <", value, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipLessThanOrEqualTo(String value) {
            addCriterion("receiveip <=", value, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipLike(String value) {
            addCriterion("receiveip like", value, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipNotLike(String value) {
            addCriterion("receiveip not like", value, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipIn(List<String> values) {
            addCriterion("receiveip in", values, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipNotIn(List<String> values) {
            addCriterion("receiveip not in", values, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipBetween(String value1, String value2) {
            addCriterion("receiveip between", value1, value2, "receiveip");
            return (Criteria) this;
        }

        public Criteria andReceiveipNotBetween(String value1, String value2) {
            addCriterion("receiveip not between", value1, value2, "receiveip");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table chatdetail
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table chatdetail
     *
     * @mbg.generated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}