package com.bailuntec.domain.example;

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

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

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

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

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    protected Integer offset;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    protected Integer rows;

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @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 dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceEbayExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceEbayExample 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 dc_base_finance_ebay
     *
     * @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 dc_base_finance_ebay
     *
     * @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 dc_base_finance_ebay
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public static Criteria newAndCreateCriteria() {
        DcBaseFinanceEbayExample example = new DcBaseFinanceEbayExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceEbayExample 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 dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceEbayExample 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 dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public Integer getOffset() {
        return this.offset;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public void setRows(Integer rows) {
        this.rows = rows;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public Integer getRows() {
        return this.rows;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceEbayExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceEbayExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceEbayExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_finance_ebay
     *
     * @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 andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

        public Criteria andBjCreateIsNull() {
            addCriterion("bj_create is null");
            return (Criteria) this;
        }

        public Criteria andBjCreateIsNotNull() {
            addCriterion("bj_create is not null");
            return (Criteria) this;
        }

        public Criteria andBjCreateEqualTo(LocalDateTime value) {
            addCriterion("bj_create =", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateNotEqualTo(LocalDateTime value) {
            addCriterion("bj_create <>", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateGreaterThan(LocalDateTime value) {
            addCriterion("bj_create >", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_create >=", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateLessThan(LocalDateTime value) {
            addCriterion("bj_create <", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_create <=", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateIn(List<LocalDateTime> values) {
            addCriterion("bj_create in", values, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateNotIn(List<LocalDateTime> values) {
            addCriterion("bj_create not in", values, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_create between", value1, value2, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_create not between", value1, value2, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjModifiedIsNull() {
            addCriterion("bj_modified is null");
            return (Criteria) this;
        }

        public Criteria andBjModifiedIsNotNull() {
            addCriterion("bj_modified is not null");
            return (Criteria) this;
        }

        public Criteria andBjModifiedEqualTo(LocalDateTime value) {
            addCriterion("bj_modified =", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedNotEqualTo(LocalDateTime value) {
            addCriterion("bj_modified <>", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedGreaterThan(LocalDateTime value) {
            addCriterion("bj_modified >", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_modified >=", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedLessThan(LocalDateTime value) {
            addCriterion("bj_modified <", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_modified <=", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedIn(List<LocalDateTime> values) {
            addCriterion("bj_modified in", values, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedNotIn(List<LocalDateTime> values) {
            addCriterion("bj_modified not in", values, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_modified between", value1, value2, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_modified not between", value1, value2, "bjModified");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeIsNull() {
            addCriterion("account_entry_type is null");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeIsNotNull() {
            addCriterion("account_entry_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeEqualTo(String value) {
            addCriterion("account_entry_type =", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeNotEqualTo(String value) {
            addCriterion("account_entry_type <>", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeGreaterThan(String value) {
            addCriterion("account_entry_type >", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeGreaterThanOrEqualTo(String value) {
            addCriterion("account_entry_type >=", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeLessThan(String value) {
            addCriterion("account_entry_type <", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeLessThanOrEqualTo(String value) {
            addCriterion("account_entry_type <=", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeLike(String value) {
            addCriterion("account_entry_type like", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeNotLike(String value) {
            addCriterion("account_entry_type not like", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeIn(List<String> values) {
            addCriterion("account_entry_type in", values, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeNotIn(List<String> values) {
            addCriterion("account_entry_type not in", values, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeBetween(String value1, String value2) {
            addCriterion("account_entry_type between", value1, value2, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeNotBetween(String value1, String value2) {
            addCriterion("account_entry_type not between", value1, value2, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

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

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

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

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

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

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andGmtDateIsNull() {
            addCriterion("gmt_date is null");
            return (Criteria) this;
        }

        public Criteria andGmtDateIsNotNull() {
            addCriterion("gmt_date is not null");
            return (Criteria) this;
        }

        public Criteria andGmtDateEqualTo(LocalDateTime value) {
            addCriterion("gmt_date =", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_date <>", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateGreaterThan(LocalDateTime value) {
            addCriterion("gmt_date >", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_date >=", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateLessThan(LocalDateTime value) {
            addCriterion("gmt_date <", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_date <=", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateIn(List<LocalDateTime> values) {
            addCriterion("gmt_date in", values, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_date not in", values, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_date between", value1, value2, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_date not between", value1, value2, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andBjDateIsNull() {
            addCriterion("bj_date is null");
            return (Criteria) this;
        }

        public Criteria andBjDateIsNotNull() {
            addCriterion("bj_date is not null");
            return (Criteria) this;
        }

        public Criteria andBjDateEqualTo(LocalDateTime value) {
            addCriterion("bj_date =", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateNotEqualTo(LocalDateTime value) {
            addCriterion("bj_date <>", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateGreaterThan(LocalDateTime value) {
            addCriterion("bj_date >", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_date >=", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateLessThan(LocalDateTime value) {
            addCriterion("bj_date <", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_date <=", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateIn(List<LocalDateTime> values) {
            addCriterion("bj_date in", values, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateNotIn(List<LocalDateTime> values) {
            addCriterion("bj_date not in", values, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_date between", value1, value2, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_date not between", value1, value2, "bjDate");
            return (Criteria) this;
        }

        public Criteria andGrossAmountIsNull() {
            addCriterion("gross_amount is null");
            return (Criteria) this;
        }

        public Criteria andGrossAmountIsNotNull() {
            addCriterion("gross_amount is not null");
            return (Criteria) this;
        }

        public Criteria andGrossAmountEqualTo(BigDecimal value) {
            addCriterion("gross_amount =", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountNotEqualTo(BigDecimal value) {
            addCriterion("gross_amount <>", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountGreaterThan(BigDecimal value) {
            addCriterion("gross_amount >", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("gross_amount >=", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountLessThan(BigDecimal value) {
            addCriterion("gross_amount <", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("gross_amount <=", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountIn(List<BigDecimal> values) {
            addCriterion("gross_amount in", values, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountNotIn(List<BigDecimal> values) {
            addCriterion("gross_amount not in", values, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gross_amount between", value1, value2, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gross_amount not between", value1, value2, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andItemIdIsNull() {
            addCriterion("item_id is null");
            return (Criteria) this;
        }

        public Criteria andItemIdIsNotNull() {
            addCriterion("item_id is not null");
            return (Criteria) this;
        }

        public Criteria andItemIdEqualTo(String value) {
            addCriterion("item_id =", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotEqualTo(String value) {
            addCriterion("item_id <>", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThan(String value) {
            addCriterion("item_id >", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThanOrEqualTo(String value) {
            addCriterion("item_id >=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThan(String value) {
            addCriterion("item_id <", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThanOrEqualTo(String value) {
            addCriterion("item_id <=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLike(String value) {
            addCriterion("item_id like", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotLike(String value) {
            addCriterion("item_id not like", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdIn(List<String> values) {
            addCriterion("item_id in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotIn(List<String> values) {
            addCriterion("item_id not in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdBetween(String value1, String value2) {
            addCriterion("item_id between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotBetween(String value1, String value2) {
            addCriterion("item_id not between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andMemoIsNull() {
            addCriterion("memo is null");
            return (Criteria) this;
        }

        public Criteria andMemoIsNotNull() {
            addCriterion("memo is not null");
            return (Criteria) this;
        }

        public Criteria andMemoEqualTo(String value) {
            addCriterion("memo =", value, "memo");
            return (Criteria) this;
        }

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

        public Criteria andMemoGreaterThan(String value) {
            addCriterion("memo >", value, "memo");
            return (Criteria) this;
        }

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

        public Criteria andMemoLessThan(String value) {
            addCriterion("memo <", value, "memo");
            return (Criteria) this;
        }

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

        public Criteria andMemoLike(String value) {
            addCriterion("memo like", value, "memo");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andNetAmountIsNull() {
            addCriterion("net_amount is null");
            return (Criteria) this;
        }

        public Criteria andNetAmountIsNotNull() {
            addCriterion("net_amount is not null");
            return (Criteria) this;
        }

        public Criteria andNetAmountEqualTo(BigDecimal value) {
            addCriterion("net_amount =", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountNotEqualTo(BigDecimal value) {
            addCriterion("net_amount <>", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountGreaterThan(BigDecimal value) {
            addCriterion("net_amount >", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("net_amount >=", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountLessThan(BigDecimal value) {
            addCriterion("net_amount <", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("net_amount <=", value, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountIn(List<BigDecimal> values) {
            addCriterion("net_amount in", values, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountNotIn(List<BigDecimal> values) {
            addCriterion("net_amount not in", values, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("net_amount between", value1, value2, "netAmount");
            return (Criteria) this;
        }

        public Criteria andNetAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("net_amount not between", value1, value2, "netAmount");
            return (Criteria) this;
        }

        public Criteria andRefNumberIsNull() {
            addCriterion("ref_number is null");
            return (Criteria) this;
        }

        public Criteria andRefNumberIsNotNull() {
            addCriterion("ref_number is not null");
            return (Criteria) this;
        }

        public Criteria andRefNumberEqualTo(String value) {
            addCriterion("ref_number =", value, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberNotEqualTo(String value) {
            addCriterion("ref_number <>", value, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberGreaterThan(String value) {
            addCriterion("ref_number >", value, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberGreaterThanOrEqualTo(String value) {
            addCriterion("ref_number >=", value, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberLessThan(String value) {
            addCriterion("ref_number <", value, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberLessThanOrEqualTo(String value) {
            addCriterion("ref_number <=", value, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberLike(String value) {
            addCriterion("ref_number like", value, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberNotLike(String value) {
            addCriterion("ref_number not like", value, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberIn(List<String> values) {
            addCriterion("ref_number in", values, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberNotIn(List<String> values) {
            addCriterion("ref_number not in", values, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberBetween(String value1, String value2) {
            addCriterion("ref_number between", value1, value2, "refNumber");
            return (Criteria) this;
        }

        public Criteria andRefNumberNotBetween(String value1, String value2) {
            addCriterion("ref_number not between", value1, value2, "refNumber");
            return (Criteria) this;
        }

        public Criteria andVatPercentIsNull() {
            addCriterion("vat_percent is null");
            return (Criteria) this;
        }

        public Criteria andVatPercentIsNotNull() {
            addCriterion("vat_percent is not null");
            return (Criteria) this;
        }

        public Criteria andVatPercentEqualTo(BigDecimal value) {
            addCriterion("vat_percent =", value, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andVatPercentNotEqualTo(BigDecimal value) {
            addCriterion("vat_percent <>", value, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andVatPercentGreaterThan(BigDecimal value) {
            addCriterion("vat_percent >", value, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andVatPercentGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("vat_percent >=", value, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andVatPercentLessThan(BigDecimal value) {
            addCriterion("vat_percent <", value, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andVatPercentLessThanOrEqualTo(BigDecimal value) {
            addCriterion("vat_percent <=", value, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andVatPercentIn(List<BigDecimal> values) {
            addCriterion("vat_percent in", values, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andVatPercentNotIn(List<BigDecimal> values) {
            addCriterion("vat_percent not in", values, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andVatPercentBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("vat_percent between", value1, value2, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andVatPercentNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("vat_percent not between", value1, value2, "vatPercent");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

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

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

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

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

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

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andOrderLineIdIsNull() {
            addCriterion("order_line_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdIsNotNull() {
            addCriterion("order_line_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdEqualTo(String value) {
            addCriterion("order_line_id =", value, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdNotEqualTo(String value) {
            addCriterion("order_line_id <>", value, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdGreaterThan(String value) {
            addCriterion("order_line_id >", value, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_line_id >=", value, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdLessThan(String value) {
            addCriterion("order_line_id <", value, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdLessThanOrEqualTo(String value) {
            addCriterion("order_line_id <=", value, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdLike(String value) {
            addCriterion("order_line_id like", value, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdNotLike(String value) {
            addCriterion("order_line_id not like", value, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdIn(List<String> values) {
            addCriterion("order_line_id in", values, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdNotIn(List<String> values) {
            addCriterion("order_line_id not in", values, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdBetween(String value1, String value2) {
            addCriterion("order_line_id between", value1, value2, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andOrderLineIdNotBetween(String value1, String value2) {
            addCriterion("order_line_id not between", value1, value2, "orderLineId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdIsNull() {
            addCriterion("transaction_id is null");
            return (Criteria) this;
        }

        public Criteria andTransactionIdIsNotNull() {
            addCriterion("transaction_id is not null");
            return (Criteria) this;
        }

        public Criteria andTransactionIdEqualTo(String value) {
            addCriterion("transaction_id =", value, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdNotEqualTo(String value) {
            addCriterion("transaction_id <>", value, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdGreaterThan(String value) {
            addCriterion("transaction_id >", value, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdGreaterThanOrEqualTo(String value) {
            addCriterion("transaction_id >=", value, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdLessThan(String value) {
            addCriterion("transaction_id <", value, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdLessThanOrEqualTo(String value) {
            addCriterion("transaction_id <=", value, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdLike(String value) {
            addCriterion("transaction_id like", value, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdNotLike(String value) {
            addCriterion("transaction_id not like", value, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdIn(List<String> values) {
            addCriterion("transaction_id in", values, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdNotIn(List<String> values) {
            addCriterion("transaction_id not in", values, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdBetween(String value1, String value2) {
            addCriterion("transaction_id between", value1, value2, "transactionId");
            return (Criteria) this;
        }

        public Criteria andTransactionIdNotBetween(String value1, String value2) {
            addCriterion("transaction_id not between", value1, value2, "transactionId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(Integer value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(Integer value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(Integer value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(Integer value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<Integer> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<Integer> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountIsNull() {
            addCriterion("received_top_rated_discount is null");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountIsNotNull() {
            addCriterion("received_top_rated_discount is not null");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountEqualTo(Boolean value) {
            addCriterion("received_top_rated_discount =", value, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountNotEqualTo(Boolean value) {
            addCriterion("received_top_rated_discount <>", value, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountGreaterThan(Boolean value) {
            addCriterion("received_top_rated_discount >", value, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountGreaterThanOrEqualTo(Boolean value) {
            addCriterion("received_top_rated_discount >=", value, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountLessThan(Boolean value) {
            addCriterion("received_top_rated_discount <", value, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountLessThanOrEqualTo(Boolean value) {
            addCriterion("received_top_rated_discount <=", value, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountIn(List<Boolean> values) {
            addCriterion("received_top_rated_discount in", values, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountNotIn(List<Boolean> values) {
            addCriterion("received_top_rated_discount not in", values, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountBetween(Boolean value1, Boolean value2) {
            addCriterion("received_top_rated_discount between", value1, value2, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andReceivedTopRatedDiscountNotBetween(Boolean value1, Boolean value2) {
            addCriterion("received_top_rated_discount not between", value1, value2, "receivedTopRatedDiscount");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNull() {
            addCriterion("account_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNotNull() {
            addCriterion("account_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountIdEqualTo(Integer value) {
            addCriterion("account_id =", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotEqualTo(Integer value) {
            addCriterion("account_id <>", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThan(Integer value) {
            addCriterion("account_id >", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("account_id >=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThan(Integer value) {
            addCriterion("account_id <", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThanOrEqualTo(Integer value) {
            addCriterion("account_id <=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIn(List<Integer> values) {
            addCriterion("account_id in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotIn(List<Integer> values) {
            addCriterion("account_id not in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdBetween(Integer value1, Integer value2) {
            addCriterion("account_id between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotBetween(Integer value1, Integer value2) {
            addCriterion("account_id not between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNull() {
            addCriterion("currency is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNotNull() {
            addCriterion("currency is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualTo(String value) {
            addCriterion("currency =", value, "currency");
            return (Criteria) this;
        }

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

        public Criteria andCurrencyGreaterThan(String value) {
            addCriterion("currency >", value, "currency");
            return (Criteria) this;
        }

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

        public Criteria andCurrencyLessThan(String value) {
            addCriterion("currency <", value, "currency");
            return (Criteria) this;
        }

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

        public Criteria andCurrencyLike(String value) {
            addCriterion("currency like", value, "currency");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andExchangeRateIsNull() {
            addCriterion("exchange_rate is null");
            return (Criteria) this;
        }

        public Criteria andExchangeRateIsNotNull() {
            addCriterion("exchange_rate is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeRateEqualTo(BigDecimal value) {
            addCriterion("exchange_rate =", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotEqualTo(BigDecimal value) {
            addCriterion("exchange_rate <>", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateGreaterThan(BigDecimal value) {
            addCriterion("exchange_rate >", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("exchange_rate >=", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateLessThan(BigDecimal value) {
            addCriterion("exchange_rate <", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("exchange_rate <=", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateIn(List<BigDecimal> values) {
            addCriterion("exchange_rate in", values, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotIn(List<BigDecimal> values) {
            addCriterion("exchange_rate not in", values, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("exchange_rate between", value1, value2, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("exchange_rate not between", value1, value2, "exchangeRate");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_finance_ebay
     *
     * @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 dc_base_finance_ebay
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private DcBaseFinanceEbayExample example;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_ebay
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        protected Criteria(DcBaseFinanceEbayExample example) {
            super();
            this.example = example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_ebay
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public DcBaseFinanceEbayExample example() {
            return this.example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_ebay
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        @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 dc_base_finance_ebay
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        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 dc_base_finance_ebay
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        /**
         * This interface was generated by MyBatis Generator.
         * This interface corresponds to the database table dc_base_finance_ebay
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        @Deprecated
        public interface ICriteriaAdd {
            /**
             * This method was generated by MyBatis Generator.
             * This method corresponds to the database table dc_base_finance_ebay
             *
             * @mbg.generated
             * @project https://github.com/itfsw/mybatis-generator-plugin
             */
            Criteria add(Criteria add);
        }
    }

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

    /**
     * This interface was generated by MyBatis Generator.
     * This interface corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public interface ICriteriaWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_ebay
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void criteria(Criteria criteria);
    }

    /**
     * This interface was generated by MyBatis Generator.
     * This interface corresponds to the database table dc_base_finance_ebay
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public interface IExampleWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_ebay
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void example(DcBaseFinanceEbayExample example);
    }
}