package com.platform.yijia.pojo;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_official_manage
     *
     * @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 station_official_manage
     *
     * @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 station_official_manage
     *
     * @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 station_official_manage
     *
     * @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 station_official_manage
     *
     * @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 andOfficialIdIsNull() {
            addCriterion("official_id is null");
            return (Criteria) this;
        }

        public Criteria andOfficialIdIsNotNull() {
            addCriterion("official_id is not null");
            return (Criteria) this;
        }

        public Criteria andOfficialIdEqualTo(Integer value) {
            addCriterion("official_id =", value, "officialId");
            return (Criteria) this;
        }

        public Criteria andOfficialIdNotEqualTo(Integer value) {
            addCriterion("official_id <>", value, "officialId");
            return (Criteria) this;
        }

        public Criteria andOfficialIdGreaterThan(Integer value) {
            addCriterion("official_id >", value, "officialId");
            return (Criteria) this;
        }

        public Criteria andOfficialIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("official_id >=", value, "officialId");
            return (Criteria) this;
        }

        public Criteria andOfficialIdLessThan(Integer value) {
            addCriterion("official_id <", value, "officialId");
            return (Criteria) this;
        }

        public Criteria andOfficialIdLessThanOrEqualTo(Integer value) {
            addCriterion("official_id <=", value, "officialId");
            return (Criteria) this;
        }

        public Criteria andOfficialIdIn(List<Integer> values) {
            addCriterion("official_id in", values, "officialId");
            return (Criteria) this;
        }

        public Criteria andOfficialIdNotIn(List<Integer> values) {
            addCriterion("official_id not in", values, "officialId");
            return (Criteria) this;
        }

        public Criteria andOfficialIdBetween(Integer value1, Integer value2) {
            addCriterion("official_id between", value1, value2, "officialId");
            return (Criteria) this;
        }

        public Criteria andOfficialIdNotBetween(Integer value1, Integer value2) {
            addCriterion("official_id not between", value1, value2, "officialId");
            return (Criteria) this;
        }

        public Criteria andStationIdIsNull() {
            addCriterion("station_id is null");
            return (Criteria) this;
        }

        public Criteria andStationIdIsNotNull() {
            addCriterion("station_id is not null");
            return (Criteria) this;
        }

        public Criteria andStationIdEqualTo(Integer value) {
            addCriterion("station_id =", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotEqualTo(Integer value) {
            addCriterion("station_id <>", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdGreaterThan(Integer value) {
            addCriterion("station_id >", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("station_id >=", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLessThan(Integer value) {
            addCriterion("station_id <", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLessThanOrEqualTo(Integer value) {
            addCriterion("station_id <=", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdIn(List<Integer> values) {
            addCriterion("station_id in", values, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotIn(List<Integer> values) {
            addCriterion("station_id not in", values, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdBetween(Integer value1, Integer value2) {
            addCriterion("station_id between", value1, value2, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotBetween(Integer value1, Integer value2) {
            addCriterion("station_id not between", value1, value2, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationNameIsNull() {
            addCriterion("station_name is null");
            return (Criteria) this;
        }

        public Criteria andStationNameIsNotNull() {
            addCriterion("station_name is not null");
            return (Criteria) this;
        }

        public Criteria andStationNameEqualTo(String value) {
            addCriterion("station_name =", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotEqualTo(String value) {
            addCriterion("station_name <>", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameGreaterThan(String value) {
            addCriterion("station_name >", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
            addCriterion("station_name >=", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameLessThan(String value) {
            addCriterion("station_name <", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameLessThanOrEqualTo(String value) {
            addCriterion("station_name <=", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameLike(String value) {
            addCriterion("station_name like", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotLike(String value) {
            addCriterion("station_name not like", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameIn(List<String> values) {
            addCriterion("station_name in", values, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotIn(List<String> values) {
            addCriterion("station_name not in", values, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameBetween(String value1, String value2) {
            addCriterion("station_name between", value1, value2, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotBetween(String value1, String value2) {
            addCriterion("station_name not between", value1, value2, "stationName");
            return (Criteria) this;
        }

        public Criteria andWxCardManageIsNull() {
            addCriterion("wx_card_manage is null");
            return (Criteria) this;
        }

        public Criteria andWxCardManageIsNotNull() {
            addCriterion("wx_card_manage is not null");
            return (Criteria) this;
        }

        public Criteria andWxCardManageEqualTo(String value) {
            addCriterion("wx_card_manage =", value, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageNotEqualTo(String value) {
            addCriterion("wx_card_manage <>", value, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageGreaterThan(String value) {
            addCriterion("wx_card_manage >", value, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageGreaterThanOrEqualTo(String value) {
            addCriterion("wx_card_manage >=", value, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageLessThan(String value) {
            addCriterion("wx_card_manage <", value, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageLessThanOrEqualTo(String value) {
            addCriterion("wx_card_manage <=", value, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageLike(String value) {
            addCriterion("wx_card_manage like", value, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageNotLike(String value) {
            addCriterion("wx_card_manage not like", value, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageIn(List<String> values) {
            addCriterion("wx_card_manage in", values, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageNotIn(List<String> values) {
            addCriterion("wx_card_manage not in", values, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageBetween(String value1, String value2) {
            addCriterion("wx_card_manage between", value1, value2, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andWxCardManageNotBetween(String value1, String value2) {
            addCriterion("wx_card_manage not between", value1, value2, "wxCardManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageIsNull() {
            addCriterion("menu_manage is null");
            return (Criteria) this;
        }

        public Criteria andMenuManageIsNotNull() {
            addCriterion("menu_manage is not null");
            return (Criteria) this;
        }

        public Criteria andMenuManageEqualTo(String value) {
            addCriterion("menu_manage =", value, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageNotEqualTo(String value) {
            addCriterion("menu_manage <>", value, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageGreaterThan(String value) {
            addCriterion("menu_manage >", value, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageGreaterThanOrEqualTo(String value) {
            addCriterion("menu_manage >=", value, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageLessThan(String value) {
            addCriterion("menu_manage <", value, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageLessThanOrEqualTo(String value) {
            addCriterion("menu_manage <=", value, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageLike(String value) {
            addCriterion("menu_manage like", value, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageNotLike(String value) {
            addCriterion("menu_manage not like", value, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageIn(List<String> values) {
            addCriterion("menu_manage in", values, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageNotIn(List<String> values) {
            addCriterion("menu_manage not in", values, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageBetween(String value1, String value2) {
            addCriterion("menu_manage between", value1, value2, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMenuManageNotBetween(String value1, String value2) {
            addCriterion("menu_manage not between", value1, value2, "menuManage");
            return (Criteria) this;
        }

        public Criteria andMassMessagingIsNull() {
            addCriterion("mass_messaging is null");
            return (Criteria) this;
        }

        public Criteria andMassMessagingIsNotNull() {
            addCriterion("mass_messaging is not null");
            return (Criteria) this;
        }

        public Criteria andMassMessagingEqualTo(String value) {
            addCriterion("mass_messaging =", value, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingNotEqualTo(String value) {
            addCriterion("mass_messaging <>", value, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingGreaterThan(String value) {
            addCriterion("mass_messaging >", value, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingGreaterThanOrEqualTo(String value) {
            addCriterion("mass_messaging >=", value, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingLessThan(String value) {
            addCriterion("mass_messaging <", value, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingLessThanOrEqualTo(String value) {
            addCriterion("mass_messaging <=", value, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingLike(String value) {
            addCriterion("mass_messaging like", value, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingNotLike(String value) {
            addCriterion("mass_messaging not like", value, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingIn(List<String> values) {
            addCriterion("mass_messaging in", values, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingNotIn(List<String> values) {
            addCriterion("mass_messaging not in", values, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingBetween(String value1, String value2) {
            addCriterion("mass_messaging between", value1, value2, "massMessaging");
            return (Criteria) this;
        }

        public Criteria andMassMessagingNotBetween(String value1, String value2) {
            addCriterion("mass_messaging not between", value1, value2, "massMessaging");
            return (Criteria) this;
        }
    }

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