package cn.exploring.engine.server.db.domain;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    public LessonInfoExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    public LessonInfoExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    public static Criteria newAndCreateCriteria() {
        LessonInfoExample example = new LessonInfoExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    public LessonInfoExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    public LessonInfoExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

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

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

        public Criteria 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 andIdEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andIdGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andIdLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
            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 andChaptersIsNull() {
            addCriterion("chapters is null");
            return (Criteria) this;
        }

        public Criteria andChaptersIsNotNull() {
            addCriterion("chapters is not null");
            return (Criteria) this;
        }

        public Criteria andChaptersEqualTo(Integer value) {
            addCriterion("chapters =", value, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersNotEqualTo(Integer value) {
            addCriterion("chapters <>", value, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersGreaterThan(Integer value) {
            addCriterion("chapters >", value, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersGreaterThanOrEqualTo(Integer value) {
            addCriterion("chapters >=", value, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersLessThan(Integer value) {
            addCriterion("chapters <", value, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersLessThanOrEqualTo(Integer value) {
            addCriterion("chapters <=", value, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersIn(List<Integer> values) {
            addCriterion("chapters in", values, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersNotIn(List<Integer> values) {
            addCriterion("chapters not in", values, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersBetween(Integer value1, Integer value2) {
            addCriterion("chapters between", value1, value2, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersNotBetween(Integer value1, Integer value2) {
            addCriterion("chapters not between", value1, value2, "chapters");
            return (Criteria) this;
        }

        public Criteria andChaptersNameIsNull() {
            addCriterion("chapters_name is null");
            return (Criteria) this;
        }

        public Criteria andChaptersNameIsNotNull() {
            addCriterion("chapters_name is not null");
            return (Criteria) this;
        }

        public Criteria andChaptersNameEqualTo(String value) {
            addCriterion("chapters_name =", value, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters_name = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersNameNotEqualTo(String value) {
            addCriterion("chapters_name <>", value, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters_name <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersNameGreaterThan(String value) {
            addCriterion("chapters_name >", value, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters_name > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersNameGreaterThanOrEqualTo(String value) {
            addCriterion("chapters_name >=", value, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters_name >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersNameLessThan(String value) {
            addCriterion("chapters_name <", value, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters_name < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersNameLessThanOrEqualTo(String value) {
            addCriterion("chapters_name <=", value, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("chapters_name <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andChaptersNameLike(String value) {
            addCriterion("chapters_name like", value, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameNotLike(String value) {
            addCriterion("chapters_name not like", value, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameIn(List<String> values) {
            addCriterion("chapters_name in", values, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameNotIn(List<String> values) {
            addCriterion("chapters_name not in", values, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameBetween(String value1, String value2) {
            addCriterion("chapters_name between", value1, value2, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andChaptersNameNotBetween(String value1, String value2) {
            addCriterion("chapters_name not between", value1, value2, "chaptersName");
            return (Criteria) this;
        }

        public Criteria andSessionIsNull() {
            addCriterion("`session` is null");
            return (Criteria) this;
        }

        public Criteria andSessionIsNotNull() {
            addCriterion("`session` is not null");
            return (Criteria) this;
        }

        public Criteria andSessionEqualTo(Integer value) {
            addCriterion("`session` =", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("`session` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionNotEqualTo(Integer value) {
            addCriterion("`session` <>", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("`session` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionGreaterThan(Integer value) {
            addCriterion("`session` >", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("`session` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionGreaterThanOrEqualTo(Integer value) {
            addCriterion("`session` >=", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("`session` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionLessThan(Integer value) {
            addCriterion("`session` <", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("`session` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionLessThanOrEqualTo(Integer value) {
            addCriterion("`session` <=", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("`session` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionIn(List<Integer> values) {
            addCriterion("`session` in", values, "session");
            return (Criteria) this;
        }

        public Criteria andSessionNotIn(List<Integer> values) {
            addCriterion("`session` not in", values, "session");
            return (Criteria) this;
        }

        public Criteria andSessionBetween(Integer value1, Integer value2) {
            addCriterion("`session` between", value1, value2, "session");
            return (Criteria) this;
        }

        public Criteria andSessionNotBetween(Integer value1, Integer value2) {
            addCriterion("`session` not between", value1, value2, "session");
            return (Criteria) this;
        }

        public Criteria andSessionNameIsNull() {
            addCriterion("session_name is null");
            return (Criteria) this;
        }

        public Criteria andSessionNameIsNotNull() {
            addCriterion("session_name is not null");
            return (Criteria) this;
        }

        public Criteria andSessionNameEqualTo(String value) {
            addCriterion("session_name =", value, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("session_name = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionNameNotEqualTo(String value) {
            addCriterion("session_name <>", value, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("session_name <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionNameGreaterThan(String value) {
            addCriterion("session_name >", value, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("session_name > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionNameGreaterThanOrEqualTo(String value) {
            addCriterion("session_name >=", value, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("session_name >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionNameLessThan(String value) {
            addCriterion("session_name <", value, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("session_name < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionNameLessThanOrEqualTo(String value) {
            addCriterion("session_name <=", value, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("session_name <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSessionNameLike(String value) {
            addCriterion("session_name like", value, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameNotLike(String value) {
            addCriterion("session_name not like", value, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameIn(List<String> values) {
            addCriterion("session_name in", values, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameNotIn(List<String> values) {
            addCriterion("session_name not in", values, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameBetween(String value1, String value2) {
            addCriterion("session_name between", value1, value2, "sessionName");
            return (Criteria) this;
        }

        public Criteria andSessionNameNotBetween(String value1, String value2) {
            addCriterion("session_name not between", value1, value2, "sessionName");
            return (Criteria) this;
        }

        public Criteria andLessonContentIsNull() {
            addCriterion("lesson_content is null");
            return (Criteria) this;
        }

        public Criteria andLessonContentIsNotNull() {
            addCriterion("lesson_content is not null");
            return (Criteria) this;
        }

        public Criteria andLessonContentEqualTo(String value) {
            addCriterion("lesson_content =", value, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_content = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonContentNotEqualTo(String value) {
            addCriterion("lesson_content <>", value, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_content <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonContentGreaterThan(String value) {
            addCriterion("lesson_content >", value, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_content > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonContentGreaterThanOrEqualTo(String value) {
            addCriterion("lesson_content >=", value, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_content >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonContentLessThan(String value) {
            addCriterion("lesson_content <", value, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_content < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonContentLessThanOrEqualTo(String value) {
            addCriterion("lesson_content <=", value, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_content <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonContentLike(String value) {
            addCriterion("lesson_content like", value, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentNotLike(String value) {
            addCriterion("lesson_content not like", value, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentIn(List<String> values) {
            addCriterion("lesson_content in", values, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentNotIn(List<String> values) {
            addCriterion("lesson_content not in", values, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentBetween(String value1, String value2) {
            addCriterion("lesson_content between", value1, value2, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonContentNotBetween(String value1, String value2) {
            addCriterion("lesson_content not between", value1, value2, "lessonContent");
            return (Criteria) this;
        }

        public Criteria andLessonOrderIsNull() {
            addCriterion("lesson_order is null");
            return (Criteria) this;
        }

        public Criteria andLessonOrderIsNotNull() {
            addCriterion("lesson_order is not null");
            return (Criteria) this;
        }

        public Criteria andLessonOrderEqualTo(Integer value) {
            addCriterion("lesson_order =", value, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andLessonOrderEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_order = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonOrderNotEqualTo(Integer value) {
            addCriterion("lesson_order <>", value, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andLessonOrderNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_order <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonOrderGreaterThan(Integer value) {
            addCriterion("lesson_order >", value, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andLessonOrderGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_order > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonOrderGreaterThanOrEqualTo(Integer value) {
            addCriterion("lesson_order >=", value, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andLessonOrderGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_order >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonOrderLessThan(Integer value) {
            addCriterion("lesson_order <", value, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andLessonOrderLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_order < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonOrderLessThanOrEqualTo(Integer value) {
            addCriterion("lesson_order <=", value, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andLessonOrderLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("lesson_order <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLessonOrderIn(List<Integer> values) {
            addCriterion("lesson_order in", values, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andLessonOrderNotIn(List<Integer> values) {
            addCriterion("lesson_order not in", values, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andLessonOrderBetween(Integer value1, Integer value2) {
            addCriterion("lesson_order between", value1, value2, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andLessonOrderNotBetween(Integer value1, Integer value2) {
            addCriterion("lesson_order not between", value1, value2, "lessonOrder");
            return (Criteria) this;
        }

        public Criteria andCoverIsNull() {
            addCriterion("cover is null");
            return (Criteria) this;
        }

        public Criteria andCoverIsNotNull() {
            addCriterion("cover is not null");
            return (Criteria) this;
        }

        public Criteria andCoverEqualTo(String value) {
            addCriterion("cover =", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("cover = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverNotEqualTo(String value) {
            addCriterion("cover <>", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("cover <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverGreaterThan(String value) {
            addCriterion("cover >", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("cover > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverGreaterThanOrEqualTo(String value) {
            addCriterion("cover >=", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("cover >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverLessThan(String value) {
            addCriterion("cover <", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("cover < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverLessThanOrEqualTo(String value) {
            addCriterion("cover <=", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("cover <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverLike(String value) {
            addCriterion("cover like", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverNotLike(String value) {
            addCriterion("cover not like", value, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverIn(List<String> values) {
            addCriterion("cover in", values, "cover");
            return (Criteria) this;
        }

        public Criteria andCoverNotIn(List<String> values) {
            addCriterion("cover not in", values, "cover");
            return (Criteria) this;
        }

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

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

        public Criteria andVidUrlIsNull() {
            addCriterion("vid_url is null");
            return (Criteria) this;
        }

        public Criteria andVidUrlIsNotNull() {
            addCriterion("vid_url is not null");
            return (Criteria) this;
        }

        public Criteria andVidUrlEqualTo(String value) {
            addCriterion("vid_url =", value, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("vid_url = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVidUrlNotEqualTo(String value) {
            addCriterion("vid_url <>", value, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("vid_url <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVidUrlGreaterThan(String value) {
            addCriterion("vid_url >", value, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("vid_url > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVidUrlGreaterThanOrEqualTo(String value) {
            addCriterion("vid_url >=", value, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("vid_url >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVidUrlLessThan(String value) {
            addCriterion("vid_url <", value, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("vid_url < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVidUrlLessThanOrEqualTo(String value) {
            addCriterion("vid_url <=", value, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("vid_url <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVidUrlLike(String value) {
            addCriterion("vid_url like", value, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlNotLike(String value) {
            addCriterion("vid_url not like", value, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlIn(List<String> values) {
            addCriterion("vid_url in", values, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlNotIn(List<String> values) {
            addCriterion("vid_url not in", values, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlBetween(String value1, String value2) {
            addCriterion("vid_url between", value1, value2, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVidUrlNotBetween(String value1, String value2) {
            addCriterion("vid_url not between", value1, value2, "vidUrl");
            return (Criteria) this;
        }

        public Criteria andVideoIsNull() {
            addCriterion("video is null");
            return (Criteria) this;
        }

        public Criteria andVideoIsNotNull() {
            addCriterion("video is not null");
            return (Criteria) this;
        }

        public Criteria andVideoEqualTo(String value) {
            addCriterion("video =", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("video = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVideoNotEqualTo(String value) {
            addCriterion("video <>", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("video <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVideoGreaterThan(String value) {
            addCriterion("video >", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("video > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVideoGreaterThanOrEqualTo(String value) {
            addCriterion("video >=", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("video >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVideoLessThan(String value) {
            addCriterion("video <", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("video < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVideoLessThanOrEqualTo(String value) {
            addCriterion("video <=", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("video <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVideoLike(String value) {
            addCriterion("video like", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoNotLike(String value) {
            addCriterion("video not like", value, "video");
            return (Criteria) this;
        }

        public Criteria andVideoIn(List<String> values) {
            addCriterion("video in", values, "video");
            return (Criteria) this;
        }

        public Criteria andVideoNotIn(List<String> values) {
            addCriterion("video not in", values, "video");
            return (Criteria) this;
        }

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

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

        public Criteria andTopicIsNull() {
            addCriterion("topic is null");
            return (Criteria) this;
        }

        public Criteria andTopicIsNotNull() {
            addCriterion("topic is not null");
            return (Criteria) this;
        }

        public Criteria andTopicEqualTo(String value) {
            addCriterion("topic =", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("topic = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTopicNotEqualTo(String value) {
            addCriterion("topic <>", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("topic <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThan(String value) {
            addCriterion("topic >", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("topic > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThanOrEqualTo(String value) {
            addCriterion("topic >=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("topic >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTopicLessThan(String value) {
            addCriterion("topic <", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("topic < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTopicLessThanOrEqualTo(String value) {
            addCriterion("topic <=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("topic <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTopicLike(String value) {
            addCriterion("topic like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotLike(String value) {
            addCriterion("topic not like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicIn(List<String> values) {
            addCriterion("topic in", values, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotIn(List<String> values) {
            addCriterion("topic not in", values, "topic");
            return (Criteria) this;
        }

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

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

        public Criteria andOptionAIsNull() {
            addCriterion("option_A is null");
            return (Criteria) this;
        }

        public Criteria andOptionAIsNotNull() {
            addCriterion("option_A is not null");
            return (Criteria) this;
        }

        public Criteria andOptionAEqualTo(String value) {
            addCriterion("option_A =", value, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionAEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionANotEqualTo(String value) {
            addCriterion("option_A <>", value, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionANotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionAGreaterThan(String value) {
            addCriterion("option_A >", value, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionAGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionAGreaterThanOrEqualTo(String value) {
            addCriterion("option_A >=", value, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionAGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionALessThan(String value) {
            addCriterion("option_A <", value, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionALessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionALessThanOrEqualTo(String value) {
            addCriterion("option_A <=", value, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionALessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionALike(String value) {
            addCriterion("option_A like", value, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionANotLike(String value) {
            addCriterion("option_A not like", value, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionAIn(List<String> values) {
            addCriterion("option_A in", values, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionANotIn(List<String> values) {
            addCriterion("option_A not in", values, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionABetween(String value1, String value2) {
            addCriterion("option_A between", value1, value2, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionANotBetween(String value1, String value2) {
            addCriterion("option_A not between", value1, value2, "optionA");
            return (Criteria) this;
        }

        public Criteria andOptionAPointIsNull() {
            addCriterion("option_A_point is null");
            return (Criteria) this;
        }

        public Criteria andOptionAPointIsNotNull() {
            addCriterion("option_A_point is not null");
            return (Criteria) this;
        }

        public Criteria andOptionAPointEqualTo(Float value) {
            addCriterion("option_A_point =", value, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andOptionAPointEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A_point = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionAPointNotEqualTo(Float value) {
            addCriterion("option_A_point <>", value, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andOptionAPointNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A_point <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionAPointGreaterThan(Float value) {
            addCriterion("option_A_point >", value, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andOptionAPointGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A_point > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionAPointGreaterThanOrEqualTo(Float value) {
            addCriterion("option_A_point >=", value, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andOptionAPointGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A_point >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionAPointLessThan(Float value) {
            addCriterion("option_A_point <", value, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andOptionAPointLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A_point < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionAPointLessThanOrEqualTo(Float value) {
            addCriterion("option_A_point <=", value, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andOptionAPointLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_A_point <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionAPointIn(List<Float> values) {
            addCriterion("option_A_point in", values, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andOptionAPointNotIn(List<Float> values) {
            addCriterion("option_A_point not in", values, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andOptionAPointBetween(Float value1, Float value2) {
            addCriterion("option_A_point between", value1, value2, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andOptionAPointNotBetween(Float value1, Float value2) {
            addCriterion("option_A_point not between", value1, value2, "optionAPoint");
            return (Criteria) this;
        }

        public Criteria andExplainAIsNull() {
            addCriterion("explain_A is null");
            return (Criteria) this;
        }

        public Criteria andExplainAIsNotNull() {
            addCriterion("explain_A is not null");
            return (Criteria) this;
        }

        public Criteria andExplainAEqualTo(String value) {
            addCriterion("explain_A =", value, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainAEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_A = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainANotEqualTo(String value) {
            addCriterion("explain_A <>", value, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainANotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_A <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainAGreaterThan(String value) {
            addCriterion("explain_A >", value, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainAGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_A > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainAGreaterThanOrEqualTo(String value) {
            addCriterion("explain_A >=", value, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainAGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_A >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainALessThan(String value) {
            addCriterion("explain_A <", value, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainALessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_A < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainALessThanOrEqualTo(String value) {
            addCriterion("explain_A <=", value, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainALessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_A <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainALike(String value) {
            addCriterion("explain_A like", value, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainANotLike(String value) {
            addCriterion("explain_A not like", value, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainAIn(List<String> values) {
            addCriterion("explain_A in", values, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainANotIn(List<String> values) {
            addCriterion("explain_A not in", values, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainABetween(String value1, String value2) {
            addCriterion("explain_A between", value1, value2, "explainA");
            return (Criteria) this;
        }

        public Criteria andExplainANotBetween(String value1, String value2) {
            addCriterion("explain_A not between", value1, value2, "explainA");
            return (Criteria) this;
        }

        public Criteria andOptionBIsNull() {
            addCriterion("option_B is null");
            return (Criteria) this;
        }

        public Criteria andOptionBIsNotNull() {
            addCriterion("option_B is not null");
            return (Criteria) this;
        }

        public Criteria andOptionBEqualTo(String value) {
            addCriterion("option_B =", value, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBNotEqualTo(String value) {
            addCriterion("option_B <>", value, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBGreaterThan(String value) {
            addCriterion("option_B >", value, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBGreaterThanOrEqualTo(String value) {
            addCriterion("option_B >=", value, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBLessThan(String value) {
            addCriterion("option_B <", value, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBLessThanOrEqualTo(String value) {
            addCriterion("option_B <=", value, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBLike(String value) {
            addCriterion("option_B like", value, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBNotLike(String value) {
            addCriterion("option_B not like", value, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBIn(List<String> values) {
            addCriterion("option_B in", values, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBNotIn(List<String> values) {
            addCriterion("option_B not in", values, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBBetween(String value1, String value2) {
            addCriterion("option_B between", value1, value2, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBNotBetween(String value1, String value2) {
            addCriterion("option_B not between", value1, value2, "optionB");
            return (Criteria) this;
        }

        public Criteria andOptionBPointIsNull() {
            addCriterion("option_B_point is null");
            return (Criteria) this;
        }

        public Criteria andOptionBPointIsNotNull() {
            addCriterion("option_B_point is not null");
            return (Criteria) this;
        }

        public Criteria andOptionBPointEqualTo(Float value) {
            addCriterion("option_B_point =", value, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andOptionBPointEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B_point = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBPointNotEqualTo(Float value) {
            addCriterion("option_B_point <>", value, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andOptionBPointNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B_point <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBPointGreaterThan(Float value) {
            addCriterion("option_B_point >", value, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andOptionBPointGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B_point > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBPointGreaterThanOrEqualTo(Float value) {
            addCriterion("option_B_point >=", value, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andOptionBPointGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B_point >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBPointLessThan(Float value) {
            addCriterion("option_B_point <", value, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andOptionBPointLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B_point < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBPointLessThanOrEqualTo(Float value) {
            addCriterion("option_B_point <=", value, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andOptionBPointLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_B_point <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionBPointIn(List<Float> values) {
            addCriterion("option_B_point in", values, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andOptionBPointNotIn(List<Float> values) {
            addCriterion("option_B_point not in", values, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andOptionBPointBetween(Float value1, Float value2) {
            addCriterion("option_B_point between", value1, value2, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andOptionBPointNotBetween(Float value1, Float value2) {
            addCriterion("option_B_point not between", value1, value2, "optionBPoint");
            return (Criteria) this;
        }

        public Criteria andExplainBIsNull() {
            addCriterion("explain_B is null");
            return (Criteria) this;
        }

        public Criteria andExplainBIsNotNull() {
            addCriterion("explain_B is not null");
            return (Criteria) this;
        }

        public Criteria andExplainBEqualTo(String value) {
            addCriterion("explain_B =", value, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_B = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainBNotEqualTo(String value) {
            addCriterion("explain_B <>", value, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_B <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainBGreaterThan(String value) {
            addCriterion("explain_B >", value, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_B > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainBGreaterThanOrEqualTo(String value) {
            addCriterion("explain_B >=", value, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_B >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainBLessThan(String value) {
            addCriterion("explain_B <", value, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_B < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainBLessThanOrEqualTo(String value) {
            addCriterion("explain_B <=", value, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_B <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainBLike(String value) {
            addCriterion("explain_B like", value, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBNotLike(String value) {
            addCriterion("explain_B not like", value, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBIn(List<String> values) {
            addCriterion("explain_B in", values, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBNotIn(List<String> values) {
            addCriterion("explain_B not in", values, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBBetween(String value1, String value2) {
            addCriterion("explain_B between", value1, value2, "explainB");
            return (Criteria) this;
        }

        public Criteria andExplainBNotBetween(String value1, String value2) {
            addCriterion("explain_B not between", value1, value2, "explainB");
            return (Criteria) this;
        }

        public Criteria andOptionCIsNull() {
            addCriterion("option_C is null");
            return (Criteria) this;
        }

        public Criteria andOptionCIsNotNull() {
            addCriterion("option_C is not null");
            return (Criteria) this;
        }

        public Criteria andOptionCEqualTo(String value) {
            addCriterion("option_C =", value, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCNotEqualTo(String value) {
            addCriterion("option_C <>", value, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCGreaterThan(String value) {
            addCriterion("option_C >", value, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCGreaterThanOrEqualTo(String value) {
            addCriterion("option_C >=", value, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCLessThan(String value) {
            addCriterion("option_C <", value, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCLessThanOrEqualTo(String value) {
            addCriterion("option_C <=", value, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCLike(String value) {
            addCriterion("option_C like", value, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCNotLike(String value) {
            addCriterion("option_C not like", value, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCIn(List<String> values) {
            addCriterion("option_C in", values, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCNotIn(List<String> values) {
            addCriterion("option_C not in", values, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCBetween(String value1, String value2) {
            addCriterion("option_C between", value1, value2, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCNotBetween(String value1, String value2) {
            addCriterion("option_C not between", value1, value2, "optionC");
            return (Criteria) this;
        }

        public Criteria andOptionCPointIsNull() {
            addCriterion("option_C_point is null");
            return (Criteria) this;
        }

        public Criteria andOptionCPointIsNotNull() {
            addCriterion("option_C_point is not null");
            return (Criteria) this;
        }

        public Criteria andOptionCPointEqualTo(Float value) {
            addCriterion("option_C_point =", value, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andOptionCPointEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C_point = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCPointNotEqualTo(Float value) {
            addCriterion("option_C_point <>", value, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andOptionCPointNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C_point <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCPointGreaterThan(Float value) {
            addCriterion("option_C_point >", value, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andOptionCPointGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C_point > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCPointGreaterThanOrEqualTo(Float value) {
            addCriterion("option_C_point >=", value, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andOptionCPointGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C_point >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCPointLessThan(Float value) {
            addCriterion("option_C_point <", value, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andOptionCPointLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C_point < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCPointLessThanOrEqualTo(Float value) {
            addCriterion("option_C_point <=", value, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andOptionCPointLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("option_C_point <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOptionCPointIn(List<Float> values) {
            addCriterion("option_C_point in", values, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andOptionCPointNotIn(List<Float> values) {
            addCriterion("option_C_point not in", values, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andOptionCPointBetween(Float value1, Float value2) {
            addCriterion("option_C_point between", value1, value2, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andOptionCPointNotBetween(Float value1, Float value2) {
            addCriterion("option_C_point not between", value1, value2, "optionCPoint");
            return (Criteria) this;
        }

        public Criteria andExplainCIsNull() {
            addCriterion("explain_C is null");
            return (Criteria) this;
        }

        public Criteria andExplainCIsNotNull() {
            addCriterion("explain_C is not null");
            return (Criteria) this;
        }

        public Criteria andExplainCEqualTo(String value) {
            addCriterion("explain_C =", value, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_C = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainCNotEqualTo(String value) {
            addCriterion("explain_C <>", value, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_C <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainCGreaterThan(String value) {
            addCriterion("explain_C >", value, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_C > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainCGreaterThanOrEqualTo(String value) {
            addCriterion("explain_C >=", value, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_C >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainCLessThan(String value) {
            addCriterion("explain_C <", value, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_C < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainCLessThanOrEqualTo(String value) {
            addCriterion("explain_C <=", value, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("explain_C <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExplainCLike(String value) {
            addCriterion("explain_C like", value, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCNotLike(String value) {
            addCriterion("explain_C not like", value, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCIn(List<String> values) {
            addCriterion("explain_C in", values, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCNotIn(List<String> values) {
            addCriterion("explain_C not in", values, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCBetween(String value1, String value2) {
            addCriterion("explain_C between", value1, value2, "explainC");
            return (Criteria) this;
        }

        public Criteria andExplainCNotBetween(String value1, String value2) {
            addCriterion("explain_C not between", value1, value2, "explainC");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(LocalDateTime value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(LocalDateTime value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(LocalDateTime value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<LocalDateTime> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<LocalDateTime> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(LocalDateTime value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(LocalDateTime value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(LocalDateTime value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<LocalDateTime> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(LessonInfo.Column column) {
            addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table lesson_info
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table lesson_info
         *
         * @mbg.generated
         */
        private LessonInfoExample example;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table lesson_info
         *
         * @mbg.generated
         */
        protected Criteria(LessonInfoExample example) {
            super();
            this.example = example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table lesson_info
         *
         * @mbg.generated
         */
        public LessonInfoExample example() {
            return this.example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table lesson_info
         *
         * @mbg.generated
         */
        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table lesson_info
         *
         * @mbg.generated
         */
        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table lesson_info
         *
         * @mbg.generated
         */
        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table lesson_info
         *
         * @mbg.generated
         */
        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(LessonInfo.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(LessonInfo.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            /**
             * This method was generated by MyBatis Generator.
             * This method corresponds to the database table lesson_info
             *
             * @mbg.generated
             */
            Criteria add(Criteria add);
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table lesson_info
         *
         * @mbg.generated
         */
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table lesson_info
         *
         * @mbg.generated
         */
        void example(cn.exploring.engine.server.db.domain.LessonInfoExample example);
    }
}