package com.tax.sign.model;

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

public class SignDateInfoExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    public SignDateInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    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 sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    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 sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    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 andZoneCodeIsNull() {
            addCriterion("zone_code is null");
            return (Criteria) this;
        }

        public Criteria andZoneCodeIsNotNull() {
            addCriterion("zone_code is not null");
            return (Criteria) this;
        }

        public Criteria andZoneCodeEqualTo(String value) {
            addCriterion("zone_code =", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeNotEqualTo(String value) {
            addCriterion("zone_code <>", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeGreaterThan(String value) {
            addCriterion("zone_code >", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeGreaterThanOrEqualTo(String value) {
            addCriterion("zone_code >=", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeLessThan(String value) {
            addCriterion("zone_code <", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeLessThanOrEqualTo(String value) {
            addCriterion("zone_code <=", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeLike(String value) {
            addCriterion("zone_code like", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeNotLike(String value) {
            addCriterion("zone_code not like", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeIn(List<String> values) {
            addCriterion("zone_code in", values, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeNotIn(List<String> values) {
            addCriterion("zone_code not in", values, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeBetween(String value1, String value2) {
            addCriterion("zone_code between", value1, value2, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeNotBetween(String value1, String value2) {
            addCriterion("zone_code not between", value1, value2, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneNameIsNull() {
            addCriterion("zone_name is null");
            return (Criteria) this;
        }

        public Criteria andZoneNameIsNotNull() {
            addCriterion("zone_name is not null");
            return (Criteria) this;
        }

        public Criteria andZoneNameEqualTo(String value) {
            addCriterion("zone_name =", value, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameNotEqualTo(String value) {
            addCriterion("zone_name <>", value, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameGreaterThan(String value) {
            addCriterion("zone_name >", value, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameGreaterThanOrEqualTo(String value) {
            addCriterion("zone_name >=", value, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameLessThan(String value) {
            addCriterion("zone_name <", value, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameLessThanOrEqualTo(String value) {
            addCriterion("zone_name <=", value, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameLike(String value) {
            addCriterion("zone_name like", value, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameNotLike(String value) {
            addCriterion("zone_name not like", value, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameIn(List<String> values) {
            addCriterion("zone_name in", values, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameNotIn(List<String> values) {
            addCriterion("zone_name not in", values, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameBetween(String value1, String value2) {
            addCriterion("zone_name between", value1, value2, "zoneName");
            return (Criteria) this;
        }

        public Criteria andZoneNameNotBetween(String value1, String value2) {
            addCriterion("zone_name not between", value1, value2, "zoneName");
            return (Criteria) this;
        }

        public Criteria andReqUrlIsNull() {
            addCriterion("req_url is null");
            return (Criteria) this;
        }

        public Criteria andReqUrlIsNotNull() {
            addCriterion("req_url is not null");
            return (Criteria) this;
        }

        public Criteria andReqUrlEqualTo(String value) {
            addCriterion("req_url =", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlNotEqualTo(String value) {
            addCriterion("req_url <>", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlGreaterThan(String value) {
            addCriterion("req_url >", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlGreaterThanOrEqualTo(String value) {
            addCriterion("req_url >=", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlLessThan(String value) {
            addCriterion("req_url <", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlLessThanOrEqualTo(String value) {
            addCriterion("req_url <=", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlLike(String value) {
            addCriterion("req_url like", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlNotLike(String value) {
            addCriterion("req_url not like", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlIn(List<String> values) {
            addCriterion("req_url in", values, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlNotIn(List<String> values) {
            addCriterion("req_url not in", values, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlBetween(String value1, String value2) {
            addCriterion("req_url between", value1, value2, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlNotBetween(String value1, String value2) {
            addCriterion("req_url not between", value1, value2, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andZoneStatusIsNull() {
            addCriterion("zone_status is null");
            return (Criteria) this;
        }

        public Criteria andZoneStatusIsNotNull() {
            addCriterion("zone_status is not null");
            return (Criteria) this;
        }

        public Criteria andZoneStatusEqualTo(String value) {
            addCriterion("zone_status =", value, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusNotEqualTo(String value) {
            addCriterion("zone_status <>", value, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusGreaterThan(String value) {
            addCriterion("zone_status >", value, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusGreaterThanOrEqualTo(String value) {
            addCriterion("zone_status >=", value, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusLessThan(String value) {
            addCriterion("zone_status <", value, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusLessThanOrEqualTo(String value) {
            addCriterion("zone_status <=", value, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusLike(String value) {
            addCriterion("zone_status like", value, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusNotLike(String value) {
            addCriterion("zone_status not like", value, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusIn(List<String> values) {
            addCriterion("zone_status in", values, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusNotIn(List<String> values) {
            addCriterion("zone_status not in", values, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusBetween(String value1, String value2) {
            addCriterion("zone_status between", value1, value2, "zoneStatus");
            return (Criteria) this;
        }

        public Criteria andZoneStatusNotBetween(String value1, String value2) {
            addCriterion("zone_status not between", value1, value2, "zoneStatus");
            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 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 andServerDateIsNull() {
            addCriterion("server_date is null");
            return (Criteria) this;
        }

        public Criteria andServerDateIsNotNull() {
            addCriterion("server_date is not null");
            return (Criteria) this;
        }

        public Criteria andServerDateEqualTo(Date value) {
            addCriterion("server_date =", value, "serverDate");
            return (Criteria) this;
        }

        public Criteria andServerDateNotEqualTo(Date value) {
            addCriterion("server_date <>", value, "serverDate");
            return (Criteria) this;
        }

        public Criteria andServerDateGreaterThan(Date value) {
            addCriterion("server_date >", value, "serverDate");
            return (Criteria) this;
        }

        public Criteria andServerDateGreaterThanOrEqualTo(Date value) {
            addCriterion("server_date >=", value, "serverDate");
            return (Criteria) this;
        }

        public Criteria andServerDateLessThan(Date value) {
            addCriterion("server_date <", value, "serverDate");
            return (Criteria) this;
        }

        public Criteria andServerDateLessThanOrEqualTo(Date value) {
            addCriterion("server_date <=", value, "serverDate");
            return (Criteria) this;
        }

        public Criteria andServerDateIn(List<Date> values) {
            addCriterion("server_date in", values, "serverDate");
            return (Criteria) this;
        }

        public Criteria andServerDateNotIn(List<Date> values) {
            addCriterion("server_date not in", values, "serverDate");
            return (Criteria) this;
        }

        public Criteria andServerDateBetween(Date value1, Date value2) {
            addCriterion("server_date between", value1, value2, "serverDate");
            return (Criteria) this;
        }

        public Criteria andServerDateNotBetween(Date value1, Date value2) {
            addCriterion("server_date not between", value1, value2, "serverDate");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table sign_date_info
     *
     * @mbggenerated do_not_delete_during_merge Thu Mar 08 11:43:18 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table sign_date_info
     *
     * @mbggenerated Thu Mar 08 11:43:18 CST 2018
     */
    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);
        }
    }
}