Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / EventsManage / EventsPicQuery.java
package com.newfiber.api.pc.model.EventsManage;

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

public class EventsPicQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public EventsPicQuery() {
        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;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

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

        public Criteria andSerialIsNotNull() {
            addCriterion("Serial is not null");
            return (Criteria) this;
        }

        public Criteria andSerialEqualTo(Long value) {
            addCriterion("Serial =", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialNotEqualTo(Long value) {
            addCriterion("Serial <>", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialGreaterThan(Long value) {
            addCriterion("Serial >", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialGreaterThanOrEqualTo(Long value) {
            addCriterion("Serial >=", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialLessThan(Long value) {
            addCriterion("Serial <", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialLessThanOrEqualTo(Long value) {
            addCriterion("Serial <=", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialIn(List<Long> values) {
            addCriterion("Serial in", values, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialNotIn(List<Long> values) {
            addCriterion("Serial not in", values, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialBetween(Long value1, Long value2) {
            addCriterion("Serial between", value1, value2, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialNotBetween(Long value1, Long value2) {
            addCriterion("Serial not between", value1, value2, "serial");
            return (Criteria) this;
        }

        public Criteria andEventsNoIsNull() {
            addCriterion("Events_No is null");
            return (Criteria) this;
        }

        public Criteria andEventsNoIsNotNull() {
            addCriterion("Events_No is not null");
            return (Criteria) this;
        }

        public Criteria andEventsNoEqualTo(String value) {
            addCriterion("Events_No =", value, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoNotEqualTo(String value) {
            addCriterion("Events_No <>", value, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoGreaterThan(String value) {
            addCriterion("Events_No >", value, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoGreaterThanOrEqualTo(String value) {
            addCriterion("Events_No >=", value, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoLessThan(String value) {
            addCriterion("Events_No <", value, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoLessThanOrEqualTo(String value) {
            addCriterion("Events_No <=", value, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoLike(String value) {
            addCriterion("Events_No like", value, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoNotLike(String value) {
            addCriterion("Events_No not like", value, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoIn(List<String> values) {
            addCriterion("Events_No in", values, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoNotIn(List<String> values) {
            addCriterion("Events_No not in", values, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoBetween(String value1, String value2) {
            addCriterion("Events_No between", value1, value2, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andEventsNoNotBetween(String value1, String value2) {
            addCriterion("Events_No not between", value1, value2, "eventsNo");
            return (Criteria) this;
        }

        public Criteria andPicTypeIsNull() {
            addCriterion("Pic_Type is null");
            return (Criteria) this;
        }

        public Criteria andPicTypeIsNotNull() {
            addCriterion("Pic_Type is not null");
            return (Criteria) this;
        }

        public Criteria andPicTypeEqualTo(Integer value) {
            addCriterion("Pic_Type =", value, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeNotEqualTo(Integer value) {
            addCriterion("Pic_Type <>", value, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeGreaterThan(Integer value) {
            addCriterion("Pic_Type >", value, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("Pic_Type >=", value, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeLessThan(Integer value) {
            addCriterion("Pic_Type <", value, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeLessThanOrEqualTo(Integer value) {
            addCriterion("Pic_Type <=", value, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeIn(List<Integer> values) {
            addCriterion("Pic_Type in", values, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeNotIn(List<Integer> values) {
            addCriterion("Pic_Type not in", values, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeBetween(Integer value1, Integer value2) {
            addCriterion("Pic_Type between", value1, value2, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("Pic_Type not between", value1, value2, "picType");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameIsNull() {
            addCriterion("Pic_Type_Name is null");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameIsNotNull() {
            addCriterion("Pic_Type_Name is not null");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameEqualTo(String value) {
            addCriterion("Pic_Type_Name =", value, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameNotEqualTo(String value) {
            addCriterion("Pic_Type_Name <>", value, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameGreaterThan(String value) {
            addCriterion("Pic_Type_Name >", value, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("Pic_Type_Name >=", value, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameLessThan(String value) {
            addCriterion("Pic_Type_Name <", value, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameLessThanOrEqualTo(String value) {
            addCriterion("Pic_Type_Name <=", value, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameLike(String value) {
            addCriterion("Pic_Type_Name like", value, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameNotLike(String value) {
            addCriterion("Pic_Type_Name not like", value, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameIn(List<String> values) {
            addCriterion("Pic_Type_Name in", values, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameNotIn(List<String> values) {
            addCriterion("Pic_Type_Name not in", values, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameBetween(String value1, String value2) {
            addCriterion("Pic_Type_Name between", value1, value2, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicTypeNameNotBetween(String value1, String value2) {
            addCriterion("Pic_Type_Name not between", value1, value2, "picTypeName");
            return (Criteria) this;
        }

        public Criteria andPicNameIsNull() {
            addCriterion("Pic_Name is null");
            return (Criteria) this;
        }

        public Criteria andPicNameIsNotNull() {
            addCriterion("Pic_Name is not null");
            return (Criteria) this;
        }

        public Criteria andPicNameEqualTo(String value) {
            addCriterion("Pic_Name =", value, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameNotEqualTo(String value) {
            addCriterion("Pic_Name <>", value, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameGreaterThan(String value) {
            addCriterion("Pic_Name >", value, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameGreaterThanOrEqualTo(String value) {
            addCriterion("Pic_Name >=", value, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameLessThan(String value) {
            addCriterion("Pic_Name <", value, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameLessThanOrEqualTo(String value) {
            addCriterion("Pic_Name <=", value, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameLike(String value) {
            addCriterion("Pic_Name like", value, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameNotLike(String value) {
            addCriterion("Pic_Name not like", value, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameIn(List<String> values) {
            addCriterion("Pic_Name in", values, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameNotIn(List<String> values) {
            addCriterion("Pic_Name not in", values, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameBetween(String value1, String value2) {
            addCriterion("Pic_Name between", value1, value2, "picName");
            return (Criteria) this;
        }

        public Criteria andPicNameNotBetween(String value1, String value2) {
            addCriterion("Pic_Name not between", value1, value2, "picName");
            return (Criteria) this;
        }

        public Criteria andPicPathIsNull() {
            addCriterion("Pic_Path is null");
            return (Criteria) this;
        }

        public Criteria andPicPathIsNotNull() {
            addCriterion("Pic_Path is not null");
            return (Criteria) this;
        }

        public Criteria andPicPathEqualTo(String value) {
            addCriterion("Pic_Path =", value, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathNotEqualTo(String value) {
            addCriterion("Pic_Path <>", value, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathGreaterThan(String value) {
            addCriterion("Pic_Path >", value, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathGreaterThanOrEqualTo(String value) {
            addCriterion("Pic_Path >=", value, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathLessThan(String value) {
            addCriterion("Pic_Path <", value, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathLessThanOrEqualTo(String value) {
            addCriterion("Pic_Path <=", value, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathLike(String value) {
            addCriterion("Pic_Path like", value, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathNotLike(String value) {
            addCriterion("Pic_Path not like", value, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathIn(List<String> values) {
            addCriterion("Pic_Path in", values, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathNotIn(List<String> values) {
            addCriterion("Pic_Path not in", values, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathBetween(String value1, String value2) {
            addCriterion("Pic_Path between", value1, value2, "picPath");
            return (Criteria) this;
        }

        public Criteria andPicPathNotBetween(String value1, String value2) {
            addCriterion("Pic_Path not between", value1, value2, "picPath");
            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 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);
        }
    }
}