package com.mvc.entity;

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

public class TServerReadExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

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

    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;
    }

    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 andServerReadIdIsNull() {
            addCriterion("SERVER_READ_ID is null");
            return (Criteria) this;
        }

        public Criteria andServerReadIdIsNotNull() {
            addCriterion("SERVER_READ_ID is not null");
            return (Criteria) this;
        }

        public Criteria andServerReadIdEqualTo(String value) {
            addCriterion("SERVER_READ_ID =", value, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdNotEqualTo(String value) {
            addCriterion("SERVER_READ_ID <>", value, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdGreaterThan(String value) {
            addCriterion("SERVER_READ_ID >", value, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdGreaterThanOrEqualTo(String value) {
            addCriterion("SERVER_READ_ID >=", value, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdLessThan(String value) {
            addCriterion("SERVER_READ_ID <", value, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdLessThanOrEqualTo(String value) {
            addCriterion("SERVER_READ_ID <=", value, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdLike(String value) {
            addCriterion("SERVER_READ_ID like", value, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdNotLike(String value) {
            addCriterion("SERVER_READ_ID not like", value, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdIn(List<String> values) {
            addCriterion("SERVER_READ_ID in", values, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdNotIn(List<String> values) {
            addCriterion("SERVER_READ_ID not in", values, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdBetween(String value1, String value2) {
            addCriterion("SERVER_READ_ID between", value1, value2, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andServerReadIdNotBetween(String value1, String value2) {
            addCriterion("SERVER_READ_ID not between", value1, value2, "serverReadId");
            return (Criteria) this;
        }

        public Criteria andDeviceSnIsNull() {
            addCriterion("DEVICE_SN is null");
            return (Criteria) this;
        }

        public Criteria andDeviceSnIsNotNull() {
            addCriterion("DEVICE_SN is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceSnEqualTo(String value) {
            addCriterion("DEVICE_SN =", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnNotEqualTo(String value) {
            addCriterion("DEVICE_SN <>", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnGreaterThan(String value) {
            addCriterion("DEVICE_SN >", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnGreaterThanOrEqualTo(String value) {
            addCriterion("DEVICE_SN >=", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnLessThan(String value) {
            addCriterion("DEVICE_SN <", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnLessThanOrEqualTo(String value) {
            addCriterion("DEVICE_SN <=", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnLike(String value) {
            addCriterion("DEVICE_SN like", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnNotLike(String value) {
            addCriterion("DEVICE_SN not like", value, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnIn(List<String> values) {
            addCriterion("DEVICE_SN in", values, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnNotIn(List<String> values) {
            addCriterion("DEVICE_SN not in", values, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnBetween(String value1, String value2) {
            addCriterion("DEVICE_SN between", value1, value2, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andDeviceSnNotBetween(String value1, String value2) {
            addCriterion("DEVICE_SN not between", value1, value2, "deviceSn");
            return (Criteria) this;
        }

        public Criteria andStationCodeIsNull() {
            addCriterion("STATION_CODE is null");
            return (Criteria) this;
        }

        public Criteria andStationCodeIsNotNull() {
            addCriterion("STATION_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andStationCodeEqualTo(String value) {
            addCriterion("STATION_CODE =", value, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeNotEqualTo(String value) {
            addCriterion("STATION_CODE <>", value, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeGreaterThan(String value) {
            addCriterion("STATION_CODE >", value, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeGreaterThanOrEqualTo(String value) {
            addCriterion("STATION_CODE >=", value, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeLessThan(String value) {
            addCriterion("STATION_CODE <", value, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeLessThanOrEqualTo(String value) {
            addCriterion("STATION_CODE <=", value, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeLike(String value) {
            addCriterion("STATION_CODE like", value, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeNotLike(String value) {
            addCriterion("STATION_CODE not like", value, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeIn(List<String> values) {
            addCriterion("STATION_CODE in", values, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeNotIn(List<String> values) {
            addCriterion("STATION_CODE not in", values, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeBetween(String value1, String value2) {
            addCriterion("STATION_CODE between", value1, value2, "stationCode");
            return (Criteria) this;
        }

        public Criteria andStationCodeNotBetween(String value1, String value2) {
            addCriterion("STATION_CODE not between", value1, value2, "stationCode");
            return (Criteria) this;
        }

        public Criteria andAireadIdIsNull() {
            addCriterion("AIREAD_ID is null");
            return (Criteria) this;
        }

        public Criteria andAireadIdIsNotNull() {
            addCriterion("AIREAD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andAireadIdEqualTo(String value) {
            addCriterion("AIREAD_ID =", value, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdNotEqualTo(String value) {
            addCriterion("AIREAD_ID <>", value, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdGreaterThan(String value) {
            addCriterion("AIREAD_ID >", value, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdGreaterThanOrEqualTo(String value) {
            addCriterion("AIREAD_ID >=", value, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdLessThan(String value) {
            addCriterion("AIREAD_ID <", value, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdLessThanOrEqualTo(String value) {
            addCriterion("AIREAD_ID <=", value, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdLike(String value) {
            addCriterion("AIREAD_ID like", value, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdNotLike(String value) {
            addCriterion("AIREAD_ID not like", value, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdIn(List<String> values) {
            addCriterion("AIREAD_ID in", values, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdNotIn(List<String> values) {
            addCriterion("AIREAD_ID not in", values, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdBetween(String value1, String value2) {
            addCriterion("AIREAD_ID between", value1, value2, "aireadId");
            return (Criteria) this;
        }

        public Criteria andAireadIdNotBetween(String value1, String value2) {
            addCriterion("AIREAD_ID not between", value1, value2, "aireadId");
            return (Criteria) this;
        }

        public Criteria andIdentValueIsNull() {
            addCriterion("IDENT_VALUE is null");
            return (Criteria) this;
        }

        public Criteria andIdentValueIsNotNull() {
            addCriterion("IDENT_VALUE is not null");
            return (Criteria) this;
        }

        public Criteria andIdentValueEqualTo(BigDecimal value) {
            addCriterion("IDENT_VALUE =", value, "identValue");
            return (Criteria) this;
        }

        public Criteria andIdentValueNotEqualTo(BigDecimal value) {
            addCriterion("IDENT_VALUE <>", value, "identValue");
            return (Criteria) this;
        }

        public Criteria andIdentValueGreaterThan(BigDecimal value) {
            addCriterion("IDENT_VALUE >", value, "identValue");
            return (Criteria) this;
        }

        public Criteria andIdentValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("IDENT_VALUE >=", value, "identValue");
            return (Criteria) this;
        }

        public Criteria andIdentValueLessThan(BigDecimal value) {
            addCriterion("IDENT_VALUE <", value, "identValue");
            return (Criteria) this;
        }

        public Criteria andIdentValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("IDENT_VALUE <=", value, "identValue");
            return (Criteria) this;
        }

        public Criteria andIdentValueIn(List<BigDecimal> values) {
            addCriterion("IDENT_VALUE in", values, "identValue");
            return (Criteria) this;
        }

        public Criteria andIdentValueNotIn(List<BigDecimal> values) {
            addCriterion("IDENT_VALUE not in", values, "identValue");
            return (Criteria) this;
        }

        public Criteria andIdentValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("IDENT_VALUE between", value1, value2, "identValue");
            return (Criteria) this;
        }

        public Criteria andIdentValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("IDENT_VALUE not between", value1, value2, "identValue");
            return (Criteria) this;
        }

        public Criteria andJpgUrlIsNull() {
            addCriterion("JPG_URL is null");
            return (Criteria) this;
        }

        public Criteria andJpgUrlIsNotNull() {
            addCriterion("JPG_URL is not null");
            return (Criteria) this;
        }

        public Criteria andJpgUrlEqualTo(String value) {
            addCriterion("JPG_URL =", value, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlNotEqualTo(String value) {
            addCriterion("JPG_URL <>", value, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlGreaterThan(String value) {
            addCriterion("JPG_URL >", value, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("JPG_URL >=", value, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlLessThan(String value) {
            addCriterion("JPG_URL <", value, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlLessThanOrEqualTo(String value) {
            addCriterion("JPG_URL <=", value, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlLike(String value) {
            addCriterion("JPG_URL like", value, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlNotLike(String value) {
            addCriterion("JPG_URL not like", value, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlIn(List<String> values) {
            addCriterion("JPG_URL in", values, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlNotIn(List<String> values) {
            addCriterion("JPG_URL not in", values, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlBetween(String value1, String value2) {
            addCriterion("JPG_URL between", value1, value2, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andJpgUrlNotBetween(String value1, String value2) {
            addCriterion("JPG_URL not between", value1, value2, "jpgUrl");
            return (Criteria) this;
        }

        public Criteria andGoodFlagIsNull() {
            addCriterion("GOOD_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andGoodFlagIsNotNull() {
            addCriterion("GOOD_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andGoodFlagEqualTo(String value) {
            addCriterion("GOOD_FLAG =", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagNotEqualTo(String value) {
            addCriterion("GOOD_FLAG <>", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagGreaterThan(String value) {
            addCriterion("GOOD_FLAG >", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagGreaterThanOrEqualTo(String value) {
            addCriterion("GOOD_FLAG >=", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagLessThan(String value) {
            addCriterion("GOOD_FLAG <", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagLessThanOrEqualTo(String value) {
            addCriterion("GOOD_FLAG <=", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagLike(String value) {
            addCriterion("GOOD_FLAG like", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagNotLike(String value) {
            addCriterion("GOOD_FLAG not like", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagIn(List<String> values) {
            addCriterion("GOOD_FLAG in", values, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagNotIn(List<String> values) {
            addCriterion("GOOD_FLAG not in", values, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagBetween(String value1, String value2) {
            addCriterion("GOOD_FLAG between", value1, value2, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagNotBetween(String value1, String value2) {
            addCriterion("GOOD_FLAG not between", value1, value2, "goodFlag");
            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) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

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

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

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

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            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;
        }

        public Criteria andSmallJpgUrlIsNull() {
            addCriterion("SMALL_JPG_URL is null");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlIsNotNull() {
            addCriterion("SMALL_JPG_URL is not null");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlEqualTo(String value) {
            addCriterion("SMALL_JPG_URL =", value, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlNotEqualTo(String value) {
            addCriterion("SMALL_JPG_URL <>", value, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlGreaterThan(String value) {
            addCriterion("SMALL_JPG_URL >", value, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("SMALL_JPG_URL >=", value, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlLessThan(String value) {
            addCriterion("SMALL_JPG_URL <", value, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlLessThanOrEqualTo(String value) {
            addCriterion("SMALL_JPG_URL <=", value, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlLike(String value) {
            addCriterion("SMALL_JPG_URL like", value, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlNotLike(String value) {
            addCriterion("SMALL_JPG_URL not like", value, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlIn(List<String> values) {
            addCriterion("SMALL_JPG_URL in", values, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlNotIn(List<String> values) {
            addCriterion("SMALL_JPG_URL not in", values, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlBetween(String value1, String value2) {
            addCriterion("SMALL_JPG_URL between", value1, value2, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgUrlNotBetween(String value1, String value2) {
            addCriterion("SMALL_JPG_URL not between", value1, value2, "smallJpgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeIsNull() {
            addCriterion("SMALL_JPG_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeIsNotNull() {
            addCriterion("SMALL_JPG_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeEqualTo(String value) {
            addCriterion("SMALL_JPG_TYPE =", value, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeNotEqualTo(String value) {
            addCriterion("SMALL_JPG_TYPE <>", value, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeGreaterThan(String value) {
            addCriterion("SMALL_JPG_TYPE >", value, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeGreaterThanOrEqualTo(String value) {
            addCriterion("SMALL_JPG_TYPE >=", value, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeLessThan(String value) {
            addCriterion("SMALL_JPG_TYPE <", value, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeLessThanOrEqualTo(String value) {
            addCriterion("SMALL_JPG_TYPE <=", value, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeLike(String value) {
            addCriterion("SMALL_JPG_TYPE like", value, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeNotLike(String value) {
            addCriterion("SMALL_JPG_TYPE not like", value, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeIn(List<String> values) {
            addCriterion("SMALL_JPG_TYPE in", values, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeNotIn(List<String> values) {
            addCriterion("SMALL_JPG_TYPE not in", values, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeBetween(String value1, String value2) {
            addCriterion("SMALL_JPG_TYPE between", value1, value2, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgTypeNotBetween(String value1, String value2) {
            addCriterion("SMALL_JPG_TYPE not between", value1, value2, "smallJpgType");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightIsNull() {
            addCriterion("SMALL_JPG_HEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightIsNotNull() {
            addCriterion("SMALL_JPG_HEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightEqualTo(Integer value) {
            addCriterion("SMALL_JPG_HEIGHT =", value, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightNotEqualTo(Integer value) {
            addCriterion("SMALL_JPG_HEIGHT <>", value, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightGreaterThan(Integer value) {
            addCriterion("SMALL_JPG_HEIGHT >", value, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("SMALL_JPG_HEIGHT >=", value, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightLessThan(Integer value) {
            addCriterion("SMALL_JPG_HEIGHT <", value, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightLessThanOrEqualTo(Integer value) {
            addCriterion("SMALL_JPG_HEIGHT <=", value, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightIn(List<Integer> values) {
            addCriterion("SMALL_JPG_HEIGHT in", values, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightNotIn(List<Integer> values) {
            addCriterion("SMALL_JPG_HEIGHT not in", values, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightBetween(Integer value1, Integer value2) {
            addCriterion("SMALL_JPG_HEIGHT between", value1, value2, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgHeightNotBetween(Integer value1, Integer value2) {
            addCriterion("SMALL_JPG_HEIGHT not between", value1, value2, "smallJpgHeight");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthIsNull() {
            addCriterion("SMALL_JPG_WIDTH is null");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthIsNotNull() {
            addCriterion("SMALL_JPG_WIDTH is not null");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthEqualTo(Integer value) {
            addCriterion("SMALL_JPG_WIDTH =", value, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthNotEqualTo(Integer value) {
            addCriterion("SMALL_JPG_WIDTH <>", value, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthGreaterThan(Integer value) {
            addCriterion("SMALL_JPG_WIDTH >", value, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthGreaterThanOrEqualTo(Integer value) {
            addCriterion("SMALL_JPG_WIDTH >=", value, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthLessThan(Integer value) {
            addCriterion("SMALL_JPG_WIDTH <", value, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthLessThanOrEqualTo(Integer value) {
            addCriterion("SMALL_JPG_WIDTH <=", value, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthIn(List<Integer> values) {
            addCriterion("SMALL_JPG_WIDTH in", values, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthNotIn(List<Integer> values) {
            addCriterion("SMALL_JPG_WIDTH not in", values, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthBetween(Integer value1, Integer value2) {
            addCriterion("SMALL_JPG_WIDTH between", value1, value2, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andSmallJpgWidthNotBetween(Integer value1, Integer value2) {
            addCriterion("SMALL_JPG_WIDTH not between", value1, value2, "smallJpgWidth");
            return (Criteria) this;
        }

        public Criteria andResultCodeIsNull() {
            addCriterion("RESULT_CODE is null");
            return (Criteria) this;
        }

        public Criteria andResultCodeIsNotNull() {
            addCriterion("RESULT_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andResultCodeEqualTo(String value) {
            addCriterion("RESULT_CODE =", value, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeNotEqualTo(String value) {
            addCriterion("RESULT_CODE <>", value, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeGreaterThan(String value) {
            addCriterion("RESULT_CODE >", value, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeGreaterThanOrEqualTo(String value) {
            addCriterion("RESULT_CODE >=", value, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeLessThan(String value) {
            addCriterion("RESULT_CODE <", value, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeLessThanOrEqualTo(String value) {
            addCriterion("RESULT_CODE <=", value, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeLike(String value) {
            addCriterion("RESULT_CODE like", value, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeNotLike(String value) {
            addCriterion("RESULT_CODE not like", value, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeIn(List<String> values) {
            addCriterion("RESULT_CODE in", values, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeNotIn(List<String> values) {
            addCriterion("RESULT_CODE not in", values, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeBetween(String value1, String value2) {
            addCriterion("RESULT_CODE between", value1, value2, "resultCode");
            return (Criteria) this;
        }

        public Criteria andResultCodeNotBetween(String value1, String value2) {
            addCriterion("RESULT_CODE not between", value1, value2, "resultCode");
            return (Criteria) this;
        }

        public Criteria andSzsbzIsNull() {
            addCriterion("SZSBZ is null");
            return (Criteria) this;
        }

        public Criteria andSzsbzIsNotNull() {
            addCriterion("SZSBZ is not null");
            return (Criteria) this;
        }

        public Criteria andSzsbzEqualTo(String value) {
            addCriterion("SZSBZ =", value, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzNotEqualTo(String value) {
            addCriterion("SZSBZ <>", value, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzGreaterThan(String value) {
            addCriterion("SZSBZ >", value, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzGreaterThanOrEqualTo(String value) {
            addCriterion("SZSBZ >=", value, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzLessThan(String value) {
            addCriterion("SZSBZ <", value, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzLessThanOrEqualTo(String value) {
            addCriterion("SZSBZ <=", value, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzLike(String value) {
            addCriterion("SZSBZ like", value, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzNotLike(String value) {
            addCriterion("SZSBZ not like", value, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzIn(List<String> values) {
            addCriterion("SZSBZ in", values, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzNotIn(List<String> values) {
            addCriterion("SZSBZ not in", values, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzBetween(String value1, String value2) {
            addCriterion("SZSBZ between", value1, value2, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbzNotBetween(String value1, String value2) {
            addCriterion("SZSBZ not between", value1, value2, "szsbz");
            return (Criteria) this;
        }

        public Criteria andSzsbglIsNull() {
            addCriterion("SZSBGL is null");
            return (Criteria) this;
        }

        public Criteria andSzsbglIsNotNull() {
            addCriterion("SZSBGL is not null");
            return (Criteria) this;
        }

        public Criteria andSzsbglEqualTo(String value) {
            addCriterion("SZSBGL =", value, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglNotEqualTo(String value) {
            addCriterion("SZSBGL <>", value, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglGreaterThan(String value) {
            addCriterion("SZSBGL >", value, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglGreaterThanOrEqualTo(String value) {
            addCriterion("SZSBGL >=", value, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglLessThan(String value) {
            addCriterion("SZSBGL <", value, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglLessThanOrEqualTo(String value) {
            addCriterion("SZSBGL <=", value, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglLike(String value) {
            addCriterion("SZSBGL like", value, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglNotLike(String value) {
            addCriterion("SZSBGL not like", value, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglIn(List<String> values) {
            addCriterion("SZSBGL in", values, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglNotIn(List<String> values) {
            addCriterion("SZSBGL not in", values, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglBetween(String value1, String value2) {
            addCriterion("SZSBGL between", value1, value2, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andSzsbglNotBetween(String value1, String value2) {
            addCriterion("SZSBGL not between", value1, value2, "szsbgl");
            return (Criteria) this;
        }

        public Criteria andRotateAngleIsNull() {
            addCriterion("ROTATE_ANGLE is null");
            return (Criteria) this;
        }

        public Criteria andRotateAngleIsNotNull() {
            addCriterion("ROTATE_ANGLE is not null");
            return (Criteria) this;
        }

        public Criteria andRotateAngleEqualTo(Integer value) {
            addCriterion("ROTATE_ANGLE =", value, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andRotateAngleNotEqualTo(Integer value) {
            addCriterion("ROTATE_ANGLE <>", value, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andRotateAngleGreaterThan(Integer value) {
            addCriterion("ROTATE_ANGLE >", value, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andRotateAngleGreaterThanOrEqualTo(Integer value) {
            addCriterion("ROTATE_ANGLE >=", value, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andRotateAngleLessThan(Integer value) {
            addCriterion("ROTATE_ANGLE <", value, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andRotateAngleLessThanOrEqualTo(Integer value) {
            addCriterion("ROTATE_ANGLE <=", value, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andRotateAngleIn(List<Integer> values) {
            addCriterion("ROTATE_ANGLE in", values, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andRotateAngleNotIn(List<Integer> values) {
            addCriterion("ROTATE_ANGLE not in", values, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andRotateAngleBetween(Integer value1, Integer value2) {
            addCriterion("ROTATE_ANGLE between", value1, value2, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andRotateAngleNotBetween(Integer value1, Integer value2) {
            addCriterion("ROTATE_ANGLE not between", value1, value2, "rotateAngle");
            return (Criteria) this;
        }

        public Criteria andNumberRegionIsNull() {
            addCriterion("NUMBER_REGION is null");
            return (Criteria) this;
        }

        public Criteria andNumberRegionIsNotNull() {
            addCriterion("NUMBER_REGION is not null");
            return (Criteria) this;
        }

        public Criteria andNumberRegionEqualTo(String value) {
            addCriterion("NUMBER_REGION =", value, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionNotEqualTo(String value) {
            addCriterion("NUMBER_REGION <>", value, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionGreaterThan(String value) {
            addCriterion("NUMBER_REGION >", value, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionGreaterThanOrEqualTo(String value) {
            addCriterion("NUMBER_REGION >=", value, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionLessThan(String value) {
            addCriterion("NUMBER_REGION <", value, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionLessThanOrEqualTo(String value) {
            addCriterion("NUMBER_REGION <=", value, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionLike(String value) {
            addCriterion("NUMBER_REGION like", value, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionNotLike(String value) {
            addCriterion("NUMBER_REGION not like", value, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionIn(List<String> values) {
            addCriterion("NUMBER_REGION in", values, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionNotIn(List<String> values) {
            addCriterion("NUMBER_REGION not in", values, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionBetween(String value1, String value2) {
            addCriterion("NUMBER_REGION between", value1, value2, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andNumberRegionNotBetween(String value1, String value2) {
            addCriterion("NUMBER_REGION not between", value1, value2, "numberRegion");
            return (Criteria) this;
        }

        public Criteria andExtendValueIsNull() {
            addCriterion("EXTEND_VALUE is null");
            return (Criteria) this;
        }

        public Criteria andExtendValueIsNotNull() {
            addCriterion("EXTEND_VALUE is not null");
            return (Criteria) this;
        }

        public Criteria andExtendValueEqualTo(BigDecimal value) {
            addCriterion("EXTEND_VALUE =", value, "extendValue");
            return (Criteria) this;
        }

        public Criteria andExtendValueNotEqualTo(BigDecimal value) {
            addCriterion("EXTEND_VALUE <>", value, "extendValue");
            return (Criteria) this;
        }

        public Criteria andExtendValueGreaterThan(BigDecimal value) {
            addCriterion("EXTEND_VALUE >", value, "extendValue");
            return (Criteria) this;
        }

        public Criteria andExtendValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("EXTEND_VALUE >=", value, "extendValue");
            return (Criteria) this;
        }

        public Criteria andExtendValueLessThan(BigDecimal value) {
            addCriterion("EXTEND_VALUE <", value, "extendValue");
            return (Criteria) this;
        }

        public Criteria andExtendValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("EXTEND_VALUE <=", value, "extendValue");
            return (Criteria) this;
        }

        public Criteria andExtendValueIn(List<BigDecimal> values) {
            addCriterion("EXTEND_VALUE in", values, "extendValue");
            return (Criteria) this;
        }

        public Criteria andExtendValueNotIn(List<BigDecimal> values) {
            addCriterion("EXTEND_VALUE not in", values, "extendValue");
            return (Criteria) this;
        }

        public Criteria andExtendValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("EXTEND_VALUE between", value1, value2, "extendValue");
            return (Criteria) this;
        }

        public Criteria andExtendValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("EXTEND_VALUE not between", value1, value2, "extendValue");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    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);
        }
    }
}