package com.platform.pojo;

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

public class WxRecordExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table wx_record
     *
     * @mbggenerated
     */
    protected String orderByClause;

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_record
     *
     * @mbggenerated
     */
    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 wx_record
     *
     * @mbggenerated
     */
    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 wx_record
     *
     * @mbggenerated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

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

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table wx_record
     *
     * @mbggenerated
     */
    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 || value.toString().equals("") ) {
                 addCriterion("1=1"); 
                 return; 
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null || value1.toString().equals("")|| value2.toString().equals("") ) {
                 addCriterion("1=1"); 
                 return; 
            }
            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(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

        public Criteria andRecordIsNull() {
            addCriterion("record is null");
            return (Criteria) this;
        }

        public Criteria andRecordIsNotNull() {
            addCriterion("record is not null");
            return (Criteria) this;
        }

        public Criteria andRecordEqualTo(String value) {
            addCriterion("record =", value, "record");
            return (Criteria) this;
        }

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

        public Criteria andRecordGreaterThan(String value) {
            addCriterion("record >", value, "record");
            return (Criteria) this;
        }

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

        public Criteria andRecordLessThan(String value) {
            addCriterion("record <", value, "record");
            return (Criteria) this;
        }

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

        public Criteria andRecordLike(String value) {
            addCriterion("record like", value, "record");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andSumMoneyIsNull() {
            addCriterion("sum_money is null");
            return (Criteria) this;
        }

        public Criteria andSumMoneyIsNotNull() {
            addCriterion("sum_money is not null");
            return (Criteria) this;
        }

        public Criteria andSumMoneyEqualTo(String value) {
            addCriterion("sum_money =", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyNotEqualTo(String value) {
            addCriterion("sum_money <>", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyGreaterThan(String value) {
            addCriterion("sum_money >", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyGreaterThanOrEqualTo(String value) {
            addCriterion("sum_money >=", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyLessThan(String value) {
            addCriterion("sum_money <", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyLessThanOrEqualTo(String value) {
            addCriterion("sum_money <=", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyLike(String value) {
            addCriterion("sum_money like", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyNotLike(String value) {
            addCriterion("sum_money not like", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyIn(List<String> values) {
            addCriterion("sum_money in", values, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyNotIn(List<String> values) {
            addCriterion("sum_money not in", values, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyBetween(String value1, String value2) {
            addCriterion("sum_money between", value1, value2, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyNotBetween(String value1, String value2) {
            addCriterion("sum_money not between", value1, value2, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyIsNull() {
            addCriterion("tui_total_money is null");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyIsNotNull() {
            addCriterion("tui_total_money is not null");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyEqualTo(String value) {
            addCriterion("tui_total_money =", value, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyNotEqualTo(String value) {
            addCriterion("tui_total_money <>", value, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyGreaterThan(String value) {
            addCriterion("tui_total_money >", value, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyGreaterThanOrEqualTo(String value) {
            addCriterion("tui_total_money >=", value, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyLessThan(String value) {
            addCriterion("tui_total_money <", value, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyLessThanOrEqualTo(String value) {
            addCriterion("tui_total_money <=", value, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyLike(String value) {
            addCriterion("tui_total_money like", value, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyNotLike(String value) {
            addCriterion("tui_total_money not like", value, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyIn(List<String> values) {
            addCriterion("tui_total_money in", values, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyNotIn(List<String> values) {
            addCriterion("tui_total_money not in", values, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyBetween(String value1, String value2) {
            addCriterion("tui_total_money between", value1, value2, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andTuiTotalMoneyNotBetween(String value1, String value2) {
            addCriterion("tui_total_money not between", value1, value2, "tuiTotalMoney");
            return (Criteria) this;
        }

        public Criteria andZongDaiIsNull() {
            addCriterion("zong_dai is null");
            return (Criteria) this;
        }

        public Criteria andZongDaiIsNotNull() {
            addCriterion("zong_dai is not null");
            return (Criteria) this;
        }

        public Criteria andZongDaiEqualTo(String value) {
            addCriterion("zong_dai =", value, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiNotEqualTo(String value) {
            addCriterion("zong_dai <>", value, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiGreaterThan(String value) {
            addCriterion("zong_dai >", value, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiGreaterThanOrEqualTo(String value) {
            addCriterion("zong_dai >=", value, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiLessThan(String value) {
            addCriterion("zong_dai <", value, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiLessThanOrEqualTo(String value) {
            addCriterion("zong_dai <=", value, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiLike(String value) {
            addCriterion("zong_dai like", value, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiNotLike(String value) {
            addCriterion("zong_dai not like", value, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiIn(List<String> values) {
            addCriterion("zong_dai in", values, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiNotIn(List<String> values) {
            addCriterion("zong_dai not in", values, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiBetween(String value1, String value2) {
            addCriterion("zong_dai between", value1, value2, "zongDai");
            return (Criteria) this;
        }

        public Criteria andZongDaiNotBetween(String value1, String value2) {
            addCriterion("zong_dai not between", value1, value2, "zongDai");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyIsNull() {
            addCriterion("shou_total_money is null");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyIsNotNull() {
            addCriterion("shou_total_money is not null");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyEqualTo(String value) {
            addCriterion("shou_total_money =", value, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyNotEqualTo(String value) {
            addCriterion("shou_total_money <>", value, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyGreaterThan(String value) {
            addCriterion("shou_total_money >", value, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyGreaterThanOrEqualTo(String value) {
            addCriterion("shou_total_money >=", value, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyLessThan(String value) {
            addCriterion("shou_total_money <", value, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyLessThanOrEqualTo(String value) {
            addCriterion("shou_total_money <=", value, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyLike(String value) {
            addCriterion("shou_total_money like", value, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyNotLike(String value) {
            addCriterion("shou_total_money not like", value, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyIn(List<String> values) {
            addCriterion("shou_total_money in", values, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyNotIn(List<String> values) {
            addCriterion("shou_total_money not in", values, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyBetween(String value1, String value2) {
            addCriterion("shou_total_money between", value1, value2, "shouTotalMoney");
            return (Criteria) this;
        }

        public Criteria andShouTotalMoneyNotBetween(String value1, String value2) {
            addCriterion("shou_total_money not between", value1, value2, "shouTotalMoney");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table wx_record
     *
     * @mbggenerated 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 wx_record
     *
     * @mbggenerated
     */
    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);
        }
    }
}