package com.tax.file.model;

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

public class FileLogExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    public FileLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    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 file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    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 file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    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(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 andTaxnoIsNull() {
            addCriterion("taxno is null");
            return (Criteria) this;
        }

        public Criteria andTaxnoIsNotNull() {
            addCriterion("taxno is not null");
            return (Criteria) this;
        }

        public Criteria andTaxnoEqualTo(String value) {
            addCriterion("taxno =", value, "taxno");
            return (Criteria) this;
        }

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

        public Criteria andTaxnoGreaterThan(String value) {
            addCriterion("taxno >", value, "taxno");
            return (Criteria) this;
        }

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

        public Criteria andTaxnoLessThan(String value) {
            addCriterion("taxno <", value, "taxno");
            return (Criteria) this;
        }

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

        public Criteria andTaxnoLike(String value) {
            addCriterion("taxno like", value, "taxno");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andReqDateIsNull() {
            addCriterion("req_date is null");
            return (Criteria) this;
        }

        public Criteria andReqDateIsNotNull() {
            addCriterion("req_date is not null");
            return (Criteria) this;
        }

        public Criteria andReqDateEqualTo(Date value) {
            addCriterion("req_date =", value, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqDateNotEqualTo(Date value) {
            addCriterion("req_date <>", value, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqDateGreaterThan(Date value) {
            addCriterion("req_date >", value, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqDateGreaterThanOrEqualTo(Date value) {
            addCriterion("req_date >=", value, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqDateLessThan(Date value) {
            addCriterion("req_date <", value, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqDateLessThanOrEqualTo(Date value) {
            addCriterion("req_date <=", value, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqDateIn(List<Date> values) {
            addCriterion("req_date in", values, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqDateNotIn(List<Date> values) {
            addCriterion("req_date not in", values, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqDateBetween(Date value1, Date value2) {
            addCriterion("req_date between", value1, value2, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqDateNotBetween(Date value1, Date value2) {
            addCriterion("req_date not between", value1, value2, "reqDate");
            return (Criteria) this;
        }

        public Criteria andReqContextIsNull() {
            addCriterion("req_context is null");
            return (Criteria) this;
        }

        public Criteria andReqContextIsNotNull() {
            addCriterion("req_context is not null");
            return (Criteria) this;
        }

        public Criteria andReqContextEqualTo(String value) {
            addCriterion("req_context =", value, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextNotEqualTo(String value) {
            addCriterion("req_context <>", value, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextGreaterThan(String value) {
            addCriterion("req_context >", value, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextGreaterThanOrEqualTo(String value) {
            addCriterion("req_context >=", value, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextLessThan(String value) {
            addCriterion("req_context <", value, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextLessThanOrEqualTo(String value) {
            addCriterion("req_context <=", value, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextLike(String value) {
            addCriterion("req_context like", value, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextNotLike(String value) {
            addCriterion("req_context not like", value, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextIn(List<String> values) {
            addCriterion("req_context in", values, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextNotIn(List<String> values) {
            addCriterion("req_context not in", values, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextBetween(String value1, String value2) {
            addCriterion("req_context between", value1, value2, "reqContext");
            return (Criteria) this;
        }

        public Criteria andReqContextNotBetween(String value1, String value2) {
            addCriterion("req_context not between", value1, value2, "reqContext");
            return (Criteria) this;
        }

        public Criteria andResContextIsNull() {
            addCriterion("res_context is null");
            return (Criteria) this;
        }

        public Criteria andResContextIsNotNull() {
            addCriterion("res_context is not null");
            return (Criteria) this;
        }

        public Criteria andResContextEqualTo(String value) {
            addCriterion("res_context =", value, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextNotEqualTo(String value) {
            addCriterion("res_context <>", value, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextGreaterThan(String value) {
            addCriterion("res_context >", value, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextGreaterThanOrEqualTo(String value) {
            addCriterion("res_context >=", value, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextLessThan(String value) {
            addCriterion("res_context <", value, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextLessThanOrEqualTo(String value) {
            addCriterion("res_context <=", value, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextLike(String value) {
            addCriterion("res_context like", value, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextNotLike(String value) {
            addCriterion("res_context not like", value, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextIn(List<String> values) {
            addCriterion("res_context in", values, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextNotIn(List<String> values) {
            addCriterion("res_context not in", values, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextBetween(String value1, String value2) {
            addCriterion("res_context between", value1, value2, "resContext");
            return (Criteria) this;
        }

        public Criteria andResContextNotBetween(String value1, String value2) {
            addCriterion("res_context not between", value1, value2, "resContext");
            return (Criteria) this;
        }

        public Criteria andResDateIsNull() {
            addCriterion("res_date is null");
            return (Criteria) this;
        }

        public Criteria andResDateIsNotNull() {
            addCriterion("res_date is not null");
            return (Criteria) this;
        }

        public Criteria andResDateEqualTo(Date value) {
            addCriterion("res_date =", value, "resDate");
            return (Criteria) this;
        }

        public Criteria andResDateNotEqualTo(Date value) {
            addCriterion("res_date <>", value, "resDate");
            return (Criteria) this;
        }

        public Criteria andResDateGreaterThan(Date value) {
            addCriterion("res_date >", value, "resDate");
            return (Criteria) this;
        }

        public Criteria andResDateGreaterThanOrEqualTo(Date value) {
            addCriterion("res_date >=", value, "resDate");
            return (Criteria) this;
        }

        public Criteria andResDateLessThan(Date value) {
            addCriterion("res_date <", value, "resDate");
            return (Criteria) this;
        }

        public Criteria andResDateLessThanOrEqualTo(Date value) {
            addCriterion("res_date <=", value, "resDate");
            return (Criteria) this;
        }

        public Criteria andResDateIn(List<Date> values) {
            addCriterion("res_date in", values, "resDate");
            return (Criteria) this;
        }

        public Criteria andResDateNotIn(List<Date> values) {
            addCriterion("res_date not in", values, "resDate");
            return (Criteria) this;
        }

        public Criteria andResDateBetween(Date value1, Date value2) {
            addCriterion("res_date between", value1, value2, "resDate");
            return (Criteria) this;
        }

        public Criteria andResDateNotBetween(Date value1, Date value2) {
            addCriterion("res_date not between", value1, value2, "resDate");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNull() {
            addCriterion("apply_status is null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNotNull() {
            addCriterion("apply_status is not null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusEqualTo(String value) {
            addCriterion("apply_status =", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotEqualTo(String value) {
            addCriterion("apply_status <>", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThan(String value) {
            addCriterion("apply_status >", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThanOrEqualTo(String value) {
            addCriterion("apply_status >=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThan(String value) {
            addCriterion("apply_status <", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThanOrEqualTo(String value) {
            addCriterion("apply_status <=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLike(String value) {
            addCriterion("apply_status like", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotLike(String value) {
            addCriterion("apply_status not like", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIn(List<String> values) {
            addCriterion("apply_status in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotIn(List<String> values) {
            addCriterion("apply_status not in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusBetween(String value1, String value2) {
            addCriterion("apply_status between", value1, value2, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotBetween(String value1, String value2) {
            addCriterion("apply_status not between", value1, value2, "applyStatus");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table file_log
     *
     * @mbggenerated do_not_delete_during_merge Mon Oct 28 10:48:39 CST 2019
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table file_log
     *
     * @mbggenerated Mon Oct 28 10:48:39 CST 2019
     */
    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);
        }
    }
}