package com.platform.pojo;

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

public class DoctorSchedulesPlanExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table DOCTOR_SCHEDULES_PLAN
	 * @mbggenerated
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table DOCTOR_SCHEDULES_PLAN
	 * @mbggenerated
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table DOCTOR_SCHEDULES_PLAN
	 * @mbggenerated
	 */
	protected List<Criteria> oredCriteria;

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

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

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

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

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

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

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

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table DOCTOR_SCHEDULES_PLAN
	 * @mbggenerated
	 */
	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 DOCTOR_SCHEDULES_PLAN
	 * @mbggenerated
	 */
	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 DOCTOR_SCHEDULES_PLAN
	 * @mbggenerated
	 */
	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

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

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table DOCTOR_SCHEDULES_PLAN
	 * @mbggenerated
	 */
	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 || value.toString().equals("")) {
				addCriterion("1=1");
				return;
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null || value1.toString().equals("") || value2.toString().equals("")) {
				addCriterion("1=1");
				return;
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

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

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

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

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

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

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

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

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

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

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

		public Criteria andIdIn(List<String> values) {
			addCriterion("ID in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<String> values) {
			addCriterion("ID not in", values, "id");
			return (Criteria) this;
		}

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

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

		public Criteria andSchedulesIdIsNull() {
			addCriterion("SCHEDULES_ID is null");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdIsNotNull() {
			addCriterion("SCHEDULES_ID is not null");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdEqualTo(String value) {
			addCriterion("SCHEDULES_ID =", value, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdNotEqualTo(String value) {
			addCriterion("SCHEDULES_ID <>", value, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdGreaterThan(String value) {
			addCriterion("SCHEDULES_ID >", value, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdGreaterThanOrEqualTo(String value) {
			addCriterion("SCHEDULES_ID >=", value, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdLessThan(String value) {
			addCriterion("SCHEDULES_ID <", value, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdLessThanOrEqualTo(String value) {
			addCriterion("SCHEDULES_ID <=", value, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdLike(String value) {
			addCriterion("SCHEDULES_ID like", value, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdNotLike(String value) {
			addCriterion("SCHEDULES_ID not like", value, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdIn(List<String> values) {
			addCriterion("SCHEDULES_ID in", values, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdNotIn(List<String> values) {
			addCriterion("SCHEDULES_ID not in", values, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdBetween(String value1, String value2) {
			addCriterion("SCHEDULES_ID between", value1, value2, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesIdNotBetween(String value1, String value2) {
			addCriterion("SCHEDULES_ID not between", value1, value2, "schedulesId");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameIsNull() {
			addCriterion("SCHEDULES_NAME is null");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameIsNotNull() {
			addCriterion("SCHEDULES_NAME is not null");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameEqualTo(String value) {
			addCriterion("SCHEDULES_NAME =", value, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameNotEqualTo(String value) {
			addCriterion("SCHEDULES_NAME <>", value, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameGreaterThan(String value) {
			addCriterion("SCHEDULES_NAME >", value, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameGreaterThanOrEqualTo(String value) {
			addCriterion("SCHEDULES_NAME >=", value, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameLessThan(String value) {
			addCriterion("SCHEDULES_NAME <", value, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameLessThanOrEqualTo(String value) {
			addCriterion("SCHEDULES_NAME <=", value, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameLike(String value) {
			addCriterion("SCHEDULES_NAME like", value, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameNotLike(String value) {
			addCriterion("SCHEDULES_NAME not like", value, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameIn(List<String> values) {
			addCriterion("SCHEDULES_NAME in", values, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameNotIn(List<String> values) {
			addCriterion("SCHEDULES_NAME not in", values, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameBetween(String value1, String value2) {
			addCriterion("SCHEDULES_NAME between", value1, value2, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andSchedulesNameNotBetween(String value1, String value2) {
			addCriterion("SCHEDULES_NAME not between", value1, value2, "schedulesName");
			return (Criteria) this;
		}

		public Criteria andDoctorIdIsNull() {
			addCriterion("DOCTOR_ID is null");
			return (Criteria) this;
		}

		public Criteria andDoctorIdIsNotNull() {
			addCriterion("DOCTOR_ID is not null");
			return (Criteria) this;
		}

		public Criteria andDoctorIdEqualTo(String value) {
			addCriterion("DOCTOR_ID =", value, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdNotEqualTo(String value) {
			addCriterion("DOCTOR_ID <>", value, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdGreaterThan(String value) {
			addCriterion("DOCTOR_ID >", value, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdGreaterThanOrEqualTo(String value) {
			addCriterion("DOCTOR_ID >=", value, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdLessThan(String value) {
			addCriterion("DOCTOR_ID <", value, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdLessThanOrEqualTo(String value) {
			addCriterion("DOCTOR_ID <=", value, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdLike(String value) {
			addCriterion("DOCTOR_ID like", value, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdNotLike(String value) {
			addCriterion("DOCTOR_ID not like", value, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdIn(List<String> values) {
			addCriterion("DOCTOR_ID in", values, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdNotIn(List<String> values) {
			addCriterion("DOCTOR_ID not in", values, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdBetween(String value1, String value2) {
			addCriterion("DOCTOR_ID between", value1, value2, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorIdNotBetween(String value1, String value2) {
			addCriterion("DOCTOR_ID not between", value1, value2, "doctorId");
			return (Criteria) this;
		}

		public Criteria andDoctorNameIsNull() {
			addCriterion("DOCTOR_NAME is null");
			return (Criteria) this;
		}

		public Criteria andDoctorNameIsNotNull() {
			addCriterion("DOCTOR_NAME is not null");
			return (Criteria) this;
		}

		public Criteria andDoctorNameEqualTo(String value) {
			addCriterion("DOCTOR_NAME =", value, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameNotEqualTo(String value) {
			addCriterion("DOCTOR_NAME <>", value, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameGreaterThan(String value) {
			addCriterion("DOCTOR_NAME >", value, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameGreaterThanOrEqualTo(String value) {
			addCriterion("DOCTOR_NAME >=", value, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameLessThan(String value) {
			addCriterion("DOCTOR_NAME <", value, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameLessThanOrEqualTo(String value) {
			addCriterion("DOCTOR_NAME <=", value, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameLike(String value) {
			addCriterion("DOCTOR_NAME like", value, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameNotLike(String value) {
			addCriterion("DOCTOR_NAME not like", value, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameIn(List<String> values) {
			addCriterion("DOCTOR_NAME in", values, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameNotIn(List<String> values) {
			addCriterion("DOCTOR_NAME not in", values, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameBetween(String value1, String value2) {
			addCriterion("DOCTOR_NAME between", value1, value2, "doctorName");
			return (Criteria) this;
		}

		public Criteria andDoctorNameNotBetween(String value1, String value2) {
			addCriterion("DOCTOR_NAME not between", value1, value2, "doctorName");
			return (Criteria) this;
		}

		public Criteria andSectionNoIsNull() {
			addCriterion("SECTION_NO is null");
			return (Criteria) this;
		}

		public Criteria andSectionNoIsNotNull() {
			addCriterion("SECTION_NO is not null");
			return (Criteria) this;
		}

		public Criteria andSectionNoEqualTo(String value) {
			addCriterion("SECTION_NO =", value, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoNotEqualTo(String value) {
			addCriterion("SECTION_NO <>", value, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoGreaterThan(String value) {
			addCriterion("SECTION_NO >", value, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoGreaterThanOrEqualTo(String value) {
			addCriterion("SECTION_NO >=", value, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoLessThan(String value) {
			addCriterion("SECTION_NO <", value, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoLessThanOrEqualTo(String value) {
			addCriterion("SECTION_NO <=", value, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoLike(String value) {
			addCriterion("SECTION_NO like", value, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoNotLike(String value) {
			addCriterion("SECTION_NO not like", value, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoIn(List<String> values) {
			addCriterion("SECTION_NO in", values, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoNotIn(List<String> values) {
			addCriterion("SECTION_NO not in", values, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoBetween(String value1, String value2) {
			addCriterion("SECTION_NO between", value1, value2, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNoNotBetween(String value1, String value2) {
			addCriterion("SECTION_NO not between", value1, value2, "sectionNo");
			return (Criteria) this;
		}

		public Criteria andSectionNameIsNull() {
			addCriterion("SECTION_NAME is null");
			return (Criteria) this;
		}

		public Criteria andSectionNameIsNotNull() {
			addCriterion("SECTION_NAME is not null");
			return (Criteria) this;
		}

		public Criteria andSectionNameEqualTo(String value) {
			addCriterion("SECTION_NAME =", value, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameNotEqualTo(String value) {
			addCriterion("SECTION_NAME <>", value, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameGreaterThan(String value) {
			addCriterion("SECTION_NAME >", value, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameGreaterThanOrEqualTo(String value) {
			addCriterion("SECTION_NAME >=", value, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameLessThan(String value) {
			addCriterion("SECTION_NAME <", value, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameLessThanOrEqualTo(String value) {
			addCriterion("SECTION_NAME <=", value, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameLike(String value) {
			addCriterion("SECTION_NAME like", value, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameNotLike(String value) {
			addCriterion("SECTION_NAME not like", value, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameIn(List<String> values) {
			addCriterion("SECTION_NAME in", values, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameNotIn(List<String> values) {
			addCriterion("SECTION_NAME not in", values, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameBetween(String value1, String value2) {
			addCriterion("SECTION_NAME between", value1, value2, "sectionName");
			return (Criteria) this;
		}

		public Criteria andSectionNameNotBetween(String value1, String value2) {
			addCriterion("SECTION_NAME not between", value1, value2, "sectionName");
			return (Criteria) this;
		}

		public Criteria andStartDateIsNull() {
			addCriterion("START_DATE is null");
			return (Criteria) this;
		}

		public Criteria andStartDateIsNotNull() {
			addCriterion("START_DATE is not null");
			return (Criteria) this;
		}

		public Criteria andStartDateEqualTo(Date value) {
			addCriterion("START_DATE =", value, "startDate");
			return (Criteria) this;
		}

		public Criteria andStartDateNotEqualTo(Date value) {
			addCriterion("START_DATE <>", value, "startDate");
			return (Criteria) this;
		}

		public Criteria andStartDateGreaterThan(Date value) {
			addCriterion("START_DATE >", value, "startDate");
			return (Criteria) this;
		}

		public Criteria andStartDateGreaterThanOrEqualTo(Date value) {
			addCriterion("START_DATE >=", value, "startDate");
			return (Criteria) this;
		}

		public Criteria andStartDateLessThan(Date value) {
			addCriterion("START_DATE <", value, "startDate");
			return (Criteria) this;
		}

		public Criteria andStartDateLessThanOrEqualTo(Date value) {
			addCriterion("START_DATE <=", value, "startDate");
			return (Criteria) this;
		}

		public Criteria andStartDateIn(List<Date> values) {
			addCriterion("START_DATE in", values, "startDate");
			return (Criteria) this;
		}

		public Criteria andStartDateNotIn(List<Date> values) {
			addCriterion("START_DATE not in", values, "startDate");
			return (Criteria) this;
		}

		public Criteria andStartDateBetween(Date value1, Date value2) {
			addCriterion("START_DATE between", value1, value2, "startDate");
			return (Criteria) this;
		}

		public Criteria andStartDateNotBetween(Date value1, Date value2) {
			addCriterion("START_DATE not between", value1, value2, "startDate");
			return (Criteria) this;
		}

		public Criteria andEndDateIsNull() {
			addCriterion("END_DATE is null");
			return (Criteria) this;
		}

		public Criteria andEndDateIsNotNull() {
			addCriterion("END_DATE is not null");
			return (Criteria) this;
		}

		public Criteria andEndDateEqualTo(Date value) {
			addCriterion("END_DATE =", value, "endDate");
			return (Criteria) this;
		}

		public Criteria andEndDateNotEqualTo(Date value) {
			addCriterion("END_DATE <>", value, "endDate");
			return (Criteria) this;
		}

		public Criteria andEndDateGreaterThan(Date value) {
			addCriterion("END_DATE >", value, "endDate");
			return (Criteria) this;
		}

		public Criteria andEndDateGreaterThanOrEqualTo(Date value) {
			addCriterion("END_DATE >=", value, "endDate");
			return (Criteria) this;
		}

		public Criteria andEndDateLessThan(Date value) {
			addCriterion("END_DATE <", value, "endDate");
			return (Criteria) this;
		}

		public Criteria andEndDateLessThanOrEqualTo(Date value) {
			addCriterion("END_DATE <=", value, "endDate");
			return (Criteria) this;
		}

		public Criteria andEndDateIn(List<Date> values) {
			addCriterion("END_DATE in", values, "endDate");
			return (Criteria) this;
		}

		public Criteria andEndDateNotIn(List<Date> values) {
			addCriterion("END_DATE not in", values, "endDate");
			return (Criteria) this;
		}

		public Criteria andEndDateBetween(Date value1, Date value2) {
			addCriterion("END_DATE between", value1, value2, "endDate");
			return (Criteria) this;
		}

		public Criteria andEndDateNotBetween(Date value1, Date value2) {
			addCriterion("END_DATE not between", value1, value2, "endDate");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdIsNull() {
			addCriterion("REGTYPE_ID is null");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdIsNotNull() {
			addCriterion("REGTYPE_ID is not null");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdEqualTo(String value) {
			addCriterion("REGTYPE_ID =", value, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdNotEqualTo(String value) {
			addCriterion("REGTYPE_ID <>", value, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdGreaterThan(String value) {
			addCriterion("REGTYPE_ID >", value, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdGreaterThanOrEqualTo(String value) {
			addCriterion("REGTYPE_ID >=", value, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdLessThan(String value) {
			addCriterion("REGTYPE_ID <", value, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdLessThanOrEqualTo(String value) {
			addCriterion("REGTYPE_ID <=", value, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdLike(String value) {
			addCriterion("REGTYPE_ID like", value, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdNotLike(String value) {
			addCriterion("REGTYPE_ID not like", value, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdIn(List<String> values) {
			addCriterion("REGTYPE_ID in", values, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdNotIn(List<String> values) {
			addCriterion("REGTYPE_ID not in", values, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdBetween(String value1, String value2) {
			addCriterion("REGTYPE_ID between", value1, value2, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRegtypeIdNotBetween(String value1, String value2) {
			addCriterion("REGTYPE_ID not between", value1, value2, "regtypeId");
			return (Criteria) this;
		}

		public Criteria andRetainFlagIsNull() {
			addCriterion("RETAIN_FLAG is null");
			return (Criteria) this;
		}

		public Criteria andRetainFlagIsNotNull() {
			addCriterion("RETAIN_FLAG is not null");
			return (Criteria) this;
		}

		public Criteria andRetainFlagEqualTo(String value) {
			addCriterion("RETAIN_FLAG =", value, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagNotEqualTo(String value) {
			addCriterion("RETAIN_FLAG <>", value, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagGreaterThan(String value) {
			addCriterion("RETAIN_FLAG >", value, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagGreaterThanOrEqualTo(String value) {
			addCriterion("RETAIN_FLAG >=", value, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagLessThan(String value) {
			addCriterion("RETAIN_FLAG <", value, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagLessThanOrEqualTo(String value) {
			addCriterion("RETAIN_FLAG <=", value, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagLike(String value) {
			addCriterion("RETAIN_FLAG like", value, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagNotLike(String value) {
			addCriterion("RETAIN_FLAG not like", value, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagIn(List<String> values) {
			addCriterion("RETAIN_FLAG in", values, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagNotIn(List<String> values) {
			addCriterion("RETAIN_FLAG not in", values, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagBetween(String value1, String value2) {
			addCriterion("RETAIN_FLAG between", value1, value2, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andRetainFlagNotBetween(String value1, String value2) {
			addCriterion("RETAIN_FLAG not between", value1, value2, "retainFlag");
			return (Criteria) this;
		}

		public Criteria andSourceStatusIsNull() {
			addCriterion("SOURCE_STATUS is null");
			return (Criteria) this;
		}

		public Criteria andSourceStatusIsNotNull() {
			addCriterion("SOURCE_STATUS is not null");
			return (Criteria) this;
		}

		public Criteria andSourceStatusEqualTo(String value) {
			addCriterion("SOURCE_STATUS =", value, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusNotEqualTo(String value) {
			addCriterion("SOURCE_STATUS <>", value, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusGreaterThan(String value) {
			addCriterion("SOURCE_STATUS >", value, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusGreaterThanOrEqualTo(String value) {
			addCriterion("SOURCE_STATUS >=", value, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusLessThan(String value) {
			addCriterion("SOURCE_STATUS <", value, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusLessThanOrEqualTo(String value) {
			addCriterion("SOURCE_STATUS <=", value, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusLike(String value) {
			addCriterion("SOURCE_STATUS like", value, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusNotLike(String value) {
			addCriterion("SOURCE_STATUS not like", value, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusIn(List<String> values) {
			addCriterion("SOURCE_STATUS in", values, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusNotIn(List<String> values) {
			addCriterion("SOURCE_STATUS not in", values, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusBetween(String value1, String value2) {
			addCriterion("SOURCE_STATUS between", value1, value2, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSourceStatusNotBetween(String value1, String value2) {
			addCriterion("SOURCE_STATUS not between", value1, value2, "sourceStatus");
			return (Criteria) this;
		}

		public Criteria andSortNoIsNull() {
			addCriterion("SORT_NO is null");
			return (Criteria) this;
		}

		public Criteria andSortNoIsNotNull() {
			addCriterion("SORT_NO is not null");
			return (Criteria) this;
		}

		public Criteria andSortNoEqualTo(String value) {
			addCriterion("SORT_NO =", value, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoNotEqualTo(String value) {
			addCriterion("SORT_NO <>", value, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoGreaterThan(String value) {
			addCriterion("SORT_NO >", value, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoGreaterThanOrEqualTo(String value) {
			addCriterion("SORT_NO >=", value, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoLessThan(String value) {
			addCriterion("SORT_NO <", value, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoLessThanOrEqualTo(String value) {
			addCriterion("SORT_NO <=", value, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoLike(String value) {
			addCriterion("SORT_NO like", value, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoNotLike(String value) {
			addCriterion("SORT_NO not like", value, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoIn(List<String> values) {
			addCriterion("SORT_NO in", values, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoNotIn(List<String> values) {
			addCriterion("SORT_NO not in", values, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoBetween(String value1, String value2) {
			addCriterion("SORT_NO between", value1, value2, "sortNo");
			return (Criteria) this;
		}

		public Criteria andSortNoNotBetween(String value1, String value2) {
			addCriterion("SORT_NO not between", value1, value2, "sortNo");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdIsNull() {
			addCriterion("REPLACE_DOCTOR_ID is null");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdIsNotNull() {
			addCriterion("REPLACE_DOCTOR_ID is not null");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdEqualTo(String value) {
			addCriterion("REPLACE_DOCTOR_ID =", value, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdNotEqualTo(String value) {
			addCriterion("REPLACE_DOCTOR_ID <>", value, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdGreaterThan(String value) {
			addCriterion("REPLACE_DOCTOR_ID >", value, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdGreaterThanOrEqualTo(String value) {
			addCriterion("REPLACE_DOCTOR_ID >=", value, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdLessThan(String value) {
			addCriterion("REPLACE_DOCTOR_ID <", value, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdLessThanOrEqualTo(String value) {
			addCriterion("REPLACE_DOCTOR_ID <=", value, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdLike(String value) {
			addCriterion("REPLACE_DOCTOR_ID like", value, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdNotLike(String value) {
			addCriterion("REPLACE_DOCTOR_ID not like", value, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdIn(List<String> values) {
			addCriterion("REPLACE_DOCTOR_ID in", values, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdNotIn(List<String> values) {
			addCriterion("REPLACE_DOCTOR_ID not in", values, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdBetween(String value1, String value2) {
			addCriterion("REPLACE_DOCTOR_ID between", value1, value2, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorIdNotBetween(String value1, String value2) {
			addCriterion("REPLACE_DOCTOR_ID not between", value1, value2, "replaceDoctorId");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameIsNull() {
			addCriterion("REPLACE_DOCTOR_NAME is null");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameIsNotNull() {
			addCriterion("REPLACE_DOCTOR_NAME is not null");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameEqualTo(String value) {
			addCriterion("REPLACE_DOCTOR_NAME =", value, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameNotEqualTo(String value) {
			addCriterion("REPLACE_DOCTOR_NAME <>", value, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameGreaterThan(String value) {
			addCriterion("REPLACE_DOCTOR_NAME >", value, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameGreaterThanOrEqualTo(String value) {
			addCriterion("REPLACE_DOCTOR_NAME >=", value, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameLessThan(String value) {
			addCriterion("REPLACE_DOCTOR_NAME <", value, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameLessThanOrEqualTo(String value) {
			addCriterion("REPLACE_DOCTOR_NAME <=", value, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameLike(String value) {
			addCriterion("REPLACE_DOCTOR_NAME like", value, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameNotLike(String value) {
			addCriterion("REPLACE_DOCTOR_NAME not like", value, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameIn(List<String> values) {
			addCriterion("REPLACE_DOCTOR_NAME in", values, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameNotIn(List<String> values) {
			addCriterion("REPLACE_DOCTOR_NAME not in", values, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameBetween(String value1, String value2) {
			addCriterion("REPLACE_DOCTOR_NAME between", value1, value2, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceDoctorNameNotBetween(String value1, String value2) {
			addCriterion("REPLACE_DOCTOR_NAME not between", value1, value2, "replaceDoctorName");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonIsNull() {
			addCriterion("REPLACE_REASON is null");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonIsNotNull() {
			addCriterion("REPLACE_REASON is not null");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonEqualTo(String value) {
			addCriterion("REPLACE_REASON =", value, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonNotEqualTo(String value) {
			addCriterion("REPLACE_REASON <>", value, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonGreaterThan(String value) {
			addCriterion("REPLACE_REASON >", value, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonGreaterThanOrEqualTo(String value) {
			addCriterion("REPLACE_REASON >=", value, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonLessThan(String value) {
			addCriterion("REPLACE_REASON <", value, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonLessThanOrEqualTo(String value) {
			addCriterion("REPLACE_REASON <=", value, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonLike(String value) {
			addCriterion("REPLACE_REASON like", value, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonNotLike(String value) {
			addCriterion("REPLACE_REASON not like", value, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonIn(List<String> values) {
			addCriterion("REPLACE_REASON in", values, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonNotIn(List<String> values) {
			addCriterion("REPLACE_REASON not in", values, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonBetween(String value1, String value2) {
			addCriterion("REPLACE_REASON between", value1, value2, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andReplaceReasonNotBetween(String value1, String value2) {
			addCriterion("REPLACE_REASON not between", value1, value2, "replaceReason");
			return (Criteria) this;
		}

		public Criteria andScheduleDateIsNull() {
			addCriterion("SCHEDULE_DATE is null");
			return (Criteria) this;
		}

		public Criteria andScheduleDateIsNotNull() {
			addCriterion("SCHEDULE_DATE is not null");
			return (Criteria) this;
		}

		public Criteria andScheduleDateEqualTo(Date value) {
			addCriterion("SCHEDULE_DATE =", value, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andScheduleDateNotEqualTo(Date value) {
			addCriterion("SCHEDULE_DATE <>", value, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andScheduleDateGreaterThan(Date value) {
			addCriterion("SCHEDULE_DATE >", value, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andScheduleDateGreaterThanOrEqualTo(Date value) {
			addCriterion("SCHEDULE_DATE >=", value, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andScheduleDateLessThan(Date value) {
			addCriterion("SCHEDULE_DATE <", value, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andScheduleDateLessThanOrEqualTo(Date value) {
			addCriterion("SCHEDULE_DATE <=", value, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andScheduleDateIn(List<Date> values) {
			addCriterion("SCHEDULE_DATE in", values, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andScheduleDateNotIn(List<Date> values) {
			addCriterion("SCHEDULE_DATE not in", values, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andScheduleDateBetween(Date value1, Date value2) {
			addCriterion("SCHEDULE_DATE between", value1, value2, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andScheduleDateNotBetween(Date value1, Date value2) {
			addCriterion("SCHEDULE_DATE not between", value1, value2, "scheduleDate");
			return (Criteria) this;
		}

		public Criteria andLockTimeIsNull() {
			addCriterion("LOCK_TIME is null");
			return (Criteria) this;
		}

		public Criteria andLockTimeIsNotNull() {
			addCriterion("LOCK_TIME is not null");
			return (Criteria) this;
		}

		public Criteria andLockTimeEqualTo(Date value) {
			addCriterion("LOCK_TIME =", value, "lockTime");
			return (Criteria) this;
		}

		public Criteria andLockTimeNotEqualTo(Date value) {
			addCriterion("LOCK_TIME <>", value, "lockTime");
			return (Criteria) this;
		}

		public Criteria andLockTimeGreaterThan(Date value) {
			addCriterion("LOCK_TIME >", value, "lockTime");
			return (Criteria) this;
		}

		public Criteria andLockTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("LOCK_TIME >=", value, "lockTime");
			return (Criteria) this;
		}

		public Criteria andLockTimeLessThan(Date value) {
			addCriterion("LOCK_TIME <", value, "lockTime");
			return (Criteria) this;
		}

		public Criteria andLockTimeLessThanOrEqualTo(Date value) {
			addCriterion("LOCK_TIME <=", value, "lockTime");
			return (Criteria) this;
		}

		public Criteria andLockTimeIn(List<Date> values) {
			addCriterion("LOCK_TIME in", values, "lockTime");
			return (Criteria) this;
		}

		public Criteria andLockTimeNotIn(List<Date> values) {
			addCriterion("LOCK_TIME not in", values, "lockTime");
			return (Criteria) this;
		}

		public Criteria andLockTimeBetween(Date value1, Date value2) {
			addCriterion("LOCK_TIME between", value1, value2, "lockTime");
			return (Criteria) this;
		}

		public Criteria andLockTimeNotBetween(Date value1, Date value2) {
			addCriterion("LOCK_TIME not between", value1, value2, "lockTime");
			return (Criteria) this;
		}
	}

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

	/**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table DOCTOR_SCHEDULES_PLAN
     *
     * @mbggenerated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }
}