package com.dcit.danger.model;

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

public class AlarmInfoExample {
    /**
     * 序列化 ID
     */
    protected String orderByClause;

    /**
     * 序列化 ID
     */
    protected boolean distinct;

    /**
     * 序列化 ID
     */
    protected List<Criteria> oredCriteria;

    public AlarmInfoExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_alarm_info
     *
     * @mbg.generated Thu Jul 16 16:25:25 CST 2020
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

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

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

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id not like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(String value1, String value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(String value1, String value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeIsNull() {
            addCriterion("alarm_type is null");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeIsNotNull() {
            addCriterion("alarm_type is not null");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_type =", value, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_type <>", value, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_type >", value, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_type >=", value, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_type <", value, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_type <=", value, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_type like", value, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_type not like", value, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("alarm_type in", values, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("alarm_type not in", values, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeBetween(String value1, String value2) {
            addCriterion("alarm_type between", value1, value2, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmTypeNotBetween(String value1, String value2) {
            addCriterion("alarm_type not between", value1, value2, "alarmType");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoIsNull() {
            addCriterion("alarm_info is null");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoIsNotNull() {
            addCriterion("alarm_info is not null");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_info =", value, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_info <>", value, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_info >", value, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_info >=", value, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_info <", value, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_info <=", value, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_info like", value, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_info not like", value, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("alarm_info in", values, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("alarm_info not in", values, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoBetween(String value1, String value2) {
            addCriterion("alarm_info between", value1, value2, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andAlarmInfoNotBetween(String value1, String value2) {
            addCriterion("alarm_info not between", value1, value2, "alarmInfo");
            return (Criteria) this;
        }

        public Criteria andReportValueIsNull() {
            addCriterion("report_value is null");
            return (Criteria) this;
        }

        public Criteria andReportValueIsNotNull() {
            addCriterion("report_value is not null");
            return (Criteria) this;
        }

        public Criteria andReportValueEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("report_value =", value, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("report_value <>", value, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("report_value >", value, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("report_value >=", value, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("report_value <", value, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("report_value <=", value, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("report_value like", value, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("report_value not like", value, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("report_value in", values, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("report_value not in", values, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueBetween(String value1, String value2) {
            addCriterion("report_value between", value1, value2, "reportValue");
            return (Criteria) this;
        }

        public Criteria andReportValueNotBetween(String value1, String value2) {
            addCriterion("report_value not between", value1, value2, "reportValue");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeIsNull() {
            addCriterion("alarm_time is null");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeIsNotNull() {
            addCriterion("alarm_time is not null");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_time =", value, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_time <>", value, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_time >", value, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_time >=", value, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_time <", value, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_time <=", value, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("alarm_time in", values, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("alarm_time not in", values, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeBetween(Date value1, Date value2) {
            addCriterion("alarm_time between", value1, value2, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmTimeNotBetween(Date value1, Date value2) {
            addCriterion("alarm_time not between", value1, value2, "alarmTime");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusIsNull() {
            addCriterion("alarm_status is null");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusIsNotNull() {
            addCriterion("alarm_status is not null");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_status =", value, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_status <>", value, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_status >", value, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_status >=", value, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_status <", value, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_status <=", value, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_status like", value, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("alarm_status not like", value, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("alarm_status in", values, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("alarm_status not in", values, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusBetween(String value1, String value2) {
            addCriterion("alarm_status between", value1, value2, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andAlarmStatusNotBetween(String value1, String value2) {
            addCriterion("alarm_status not between", value1, value2, "alarmStatus");
            return (Criteria) this;
        }

        public Criteria andHandleTypeIsNull() {
            addCriterion("handle_type is null");
            return (Criteria) this;
        }

        public Criteria andHandleTypeIsNotNull() {
            addCriterion("handle_type is not null");
            return (Criteria) this;
        }

        public Criteria andHandleTypeEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_type =", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_type <>", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_type >", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_type >=", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_type <", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_type <=", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_type like", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_type not like", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("handle_type in", values, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("handle_type not in", values, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeBetween(String value1, String value2) {
            addCriterion("handle_type between", value1, value2, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeNotBetween(String value1, String value2) {
            addCriterion("handle_type not between", value1, value2, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIsNull() {
            addCriterion("handle_time is null");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIsNotNull() {
            addCriterion("handle_time is not null");
            return (Criteria) this;
        }

        public Criteria andHandleTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_time =", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_time <>", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_time >", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_time >=", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_time <", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_time <=", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("handle_time in", values, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("handle_time not in", values, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeBetween(Date value1, Date value2) {
            addCriterion("handle_time between", value1, value2, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotBetween(Date value1, Date value2) {
            addCriterion("handle_time not between", value1, value2, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdIsNull() {
            addCriterion("handle_user_id is null");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdIsNotNull() {
            addCriterion("handle_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id =", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id <>", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id >", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id >=", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id <", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id <=", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id like", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id not like", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id in", values, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("handle_user_id not in", values, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdBetween(String value1, String value2) {
            addCriterion("handle_user_id between", value1, value2, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdNotBetween(String value1, String value2) {
            addCriterion("handle_user_id not between", value1, value2, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andIsSendIsNull() {
            addCriterion("is_send is null");
            return (Criteria) this;
        }

        public Criteria andIsSendIsNotNull() {
            addCriterion("is_send is not null");
            return (Criteria) this;
        }

        public Criteria andIsSendEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_send =", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_send <>", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_send >", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_send >=", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_send <", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_send <=", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_send like", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_send not like", value, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("is_send in", values, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("is_send not in", values, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendBetween(String value1, String value2) {
            addCriterion("is_send between", value1, value2, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotBetween(String value1, String value2) {
            addCriterion("is_send not between", value1, value2, "isSend");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNull() {
            addCriterion("send_time is null");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNotNull() {
            addCriterion("send_time is not null");
            return (Criteria) this;
        }

        public Criteria andSendTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("send_time =", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("send_time <>", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("send_time >", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("send_time >=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("send_time <", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("send_time <=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("send_time in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("send_time not in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeBetween(Date value1, Date value2) {
            addCriterion("send_time between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotBetween(Date value1, Date value2) {
            addCriterion("send_time not between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andHandResultIsNull() {
            addCriterion("hand_result is null");
            return (Criteria) this;
        }

        public Criteria andHandResultIsNotNull() {
            addCriterion("hand_result is not null");
            return (Criteria) this;
        }

        public Criteria andHandResultEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("hand_result =", value, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("hand_result <>", value, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("hand_result >", value, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("hand_result >=", value, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("hand_result <", value, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("hand_result <=", value, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("hand_result like", value, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("hand_result not like", value, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("hand_result in", values, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("hand_result not in", values, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultBetween(String value1, String value2) {
            addCriterion("hand_result between", value1, value2, "handResult");
            return (Criteria) this;
        }

        public Criteria andHandResultNotBetween(String value1, String value2) {
            addCriterion("hand_result not between", value1, value2, "handResult");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

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

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

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_alarm_info
     *
     * @mbg.generated do_not_delete_during_merge Thu Jul 16 16:25:25 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_alarm_info
     *
     * @mbg.generated Thu Jul 16 16:25:25 CST 2020
     */
    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);
        }
    }
}