package com.slodon.b2b2c.member.example;

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

public class GoodsAnnexExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    public GoodsAnnexExample() {
        oredCriteria = new ArrayList<>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    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 goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    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 goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

        public Criteria andAnnexIdIsNull() {
            addCriterion("annex_id is null");
            return (Criteria) this;
        }

        public Criteria andAnnexIdIsNotNull() {
            addCriterion("annex_id is not null");
            return (Criteria) this;
        }

        public Criteria andAnnexIdEqualTo(Long value) {
            addCriterion("annex_id =", value, "annexId");
            return (Criteria) this;
        }

        public Criteria andAnnexIdNotEqualTo(Long value) {
            addCriterion("annex_id <>", value, "annexId");
            return (Criteria) this;
        }

        public Criteria andAnnexIdGreaterThan(Long value) {
            addCriterion("annex_id >", value, "annexId");
            return (Criteria) this;
        }

        public Criteria andAnnexIdGreaterThanOrEqualTo(Long value) {
            addCriterion("annex_id >=", value, "annexId");
            return (Criteria) this;
        }

        public Criteria andAnnexIdLessThan(Long value) {
            addCriterion("annex_id <", value, "annexId");
            return (Criteria) this;
        }

        public Criteria andAnnexIdLessThanOrEqualTo(Long value) {
            addCriterion("annex_id <=", value, "annexId");
            return (Criteria) this;
        }

        public Criteria andAnnexIdIn(List<Long> values) {
            addCriterion("annex_id in", values, "annexId");
            return (Criteria) this;
        }

        public Criteria andAnnexIdNotIn(List<Long> values) {
            addCriterion("annex_id not in", values, "annexId");
            return (Criteria) this;
        }

        public Criteria andAnnexIdBetween(Long value1, Long value2) {
            addCriterion("annex_id between", value1, value2, "annexId");
            return (Criteria) this;
        }

        public Criteria andAnnexIdNotBetween(Long value1, Long value2) {
            addCriterion("annex_id not between", value1, value2, "annexId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(Long value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(Long value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(Long value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(Long value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(Long value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(Long value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<Long> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<Long> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(Long value1, Long value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(Long value1, Long value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andAnnexNameIsNull() {
            addCriterion("annex_name is null");
            return (Criteria) this;
        }

        public Criteria andAnnexNameIsNotNull() {
            addCriterion("annex_name is not null");
            return (Criteria) this;
        }

        public Criteria andAnnexNameEqualTo(String value) {
            addCriterion("annex_name =", value, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameNotEqualTo(String value) {
            addCriterion("annex_name <>", value, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameGreaterThan(String value) {
            addCriterion("annex_name >", value, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameGreaterThanOrEqualTo(String value) {
            addCriterion("annex_name >=", value, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameLessThan(String value) {
            addCriterion("annex_name <", value, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameLessThanOrEqualTo(String value) {
            addCriterion("annex_name <=", value, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameLike(String value) {
            addCriterion("annex_name like", value, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameNotLike(String value) {
            addCriterion("annex_name not like", value, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameIn(List<String> values) {
            addCriterion("annex_name in", values, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameNotIn(List<String> values) {
            addCriterion("annex_name not in", values, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameBetween(String value1, String value2) {
            addCriterion("annex_name between", value1, value2, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexNameNotBetween(String value1, String value2) {
            addCriterion("annex_name not between", value1, value2, "annexName");
            return (Criteria) this;
        }

        public Criteria andAnnexPathIsNull() {
            addCriterion("annex_path is null");
            return (Criteria) this;
        }

        public Criteria andAnnexPathIsNotNull() {
            addCriterion("annex_path is not null");
            return (Criteria) this;
        }

        public Criteria andAnnexPathEqualTo(String value) {
            addCriterion("annex_path =", value, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathNotEqualTo(String value) {
            addCriterion("annex_path <>", value, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathGreaterThan(String value) {
            addCriterion("annex_path >", value, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathGreaterThanOrEqualTo(String value) {
            addCriterion("annex_path >=", value, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathLessThan(String value) {
            addCriterion("annex_path <", value, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathLessThanOrEqualTo(String value) {
            addCriterion("annex_path <=", value, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathLike(String value) {
            addCriterion("annex_path like", value, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathNotLike(String value) {
            addCriterion("annex_path not like", value, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathIn(List<String> values) {
            addCriterion("annex_path in", values, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathNotIn(List<String> values) {
            addCriterion("annex_path not in", values, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathBetween(String value1, String value2) {
            addCriterion("annex_path between", value1, value2, "annexPath");
            return (Criteria) this;
        }

        public Criteria andAnnexPathNotBetween(String value1, String value2) {
            addCriterion("annex_path not between", value1, value2, "annexPath");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

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

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

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

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andStoreIdIsNull() {
            addCriterion("store_id is null");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNotNull() {
            addCriterion("store_id is not null");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualTo(Long value) {
            addCriterion("store_id =", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualTo(Long value) {
            addCriterion("store_id <>", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThan(Long value) {
            addCriterion("store_id >", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualTo(Long value) {
            addCriterion("store_id >=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThan(Long value) {
            addCriterion("store_id <", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualTo(Long value) {
            addCriterion("store_id <=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdIn(List<Long> values) {
            addCriterion("store_id in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotIn(List<Long> values) {
            addCriterion("store_id not in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdBetween(Long value1, Long value2) {
            addCriterion("store_id between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotBetween(Long value1, Long value2) {
            addCriterion("store_id not between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andCreateIdIsNull() {
            addCriterion("create_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateIdIsNotNull() {
            addCriterion("create_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateIdEqualTo(Long value) {
            addCriterion("create_id =", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdNotEqualTo(Long value) {
            addCriterion("create_id <>", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdGreaterThan(Long value) {
            addCriterion("create_id >", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_id >=", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdLessThan(Long value) {
            addCriterion("create_id <", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdLessThanOrEqualTo(Long value) {
            addCriterion("create_id <=", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdIn(List<Long> values) {
            addCriterion("create_id in", values, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdNotIn(List<Long> values) {
            addCriterion("create_id not in", values, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdBetween(Long value1, Long value2) {
            addCriterion("create_id between", value1, value2, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdNotBetween(Long value1, Long value2) {
            addCriterion("create_id not between", value1, value2, "createId");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

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

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

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

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

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

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

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

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

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

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

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

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

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table goods_annex
     *
     * @mbg.generated do_not_delete_during_merge Fri Sep 23 15:28:45 CST 2022
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table goods_annex
     *
     * @mbg.generated Fri Sep 23 15:28:45 CST 2022
     */
    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);
        }
    }
}