package com.bailuntec.domain.example;

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

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

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

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

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_amazon_advert
     *
     * @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_amazon_advert
     *
     * @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_amazon_advert
     *
     * @mbg.generated
     */
    public DcBaseFinanceAmazonExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_amazon_advert
     *
     * @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_amazon_advert
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_amazon_advert
     *
     * @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_amazon_advert
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_amazon_advert
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceAmazonExample 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_amazon_advert
     *
     * @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_amazon_advert
     *
     * @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_amazon_advert
     *
     * @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_amazon_advert
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public static Criteria newAndCreateCriteria() {
        DcBaseFinanceAmazonExample example = new DcBaseFinanceAmazonExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_amazon_advert
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceAmazonExample 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_amazon_advert
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceAmazonExample 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_amazon_advert
     *
     * @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_amazon_advert
     *
     * @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_amazon_advert
     *
     * @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_amazon_advert
     *
     * @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_amazon_advert
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceAmazonExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_amazon_advert
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceAmazonExample 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_amazon_advert
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceAmazonExample 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_amazon_advert
     *
     * @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 andCampaignNameIsNull() {
            addCriterion("campaign_name is null");
            return (Criteria) this;
        }

        public Criteria andCampaignNameIsNotNull() {
            addCriterion("campaign_name is not null");
            return (Criteria) this;
        }

        public Criteria andCampaignNameEqualTo(String value) {
            addCriterion("campaign_name =", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameNotEqualTo(String value) {
            addCriterion("campaign_name <>", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameGreaterThan(String value) {
            addCriterion("campaign_name >", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameGreaterThanOrEqualTo(String value) {
            addCriterion("campaign_name >=", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameLessThan(String value) {
            addCriterion("campaign_name <", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameLessThanOrEqualTo(String value) {
            addCriterion("campaign_name <=", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameLike(String value) {
            addCriterion("campaign_name like", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameNotLike(String value) {
            addCriterion("campaign_name not like", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameIn(List<String> values) {
            addCriterion("campaign_name in", values, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameNotIn(List<String> values) {
            addCriterion("campaign_name not in", values, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameBetween(String value1, String value2) {
            addCriterion("campaign_name between", value1, value2, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameNotBetween(String value1, String value2) {
            addCriterion("campaign_name not between", value1, value2, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignIdIsNull() {
            addCriterion("campaign_id is null");
            return (Criteria) this;
        }

        public Criteria andCampaignIdIsNotNull() {
            addCriterion("campaign_id is not null");
            return (Criteria) this;
        }

        public Criteria andCampaignIdEqualTo(String value) {
            addCriterion("campaign_id =", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotEqualTo(String value) {
            addCriterion("campaign_id <>", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdGreaterThan(String value) {
            addCriterion("campaign_id >", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdGreaterThanOrEqualTo(String value) {
            addCriterion("campaign_id >=", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdLessThan(String value) {
            addCriterion("campaign_id <", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdLessThanOrEqualTo(String value) {
            addCriterion("campaign_id <=", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdLike(String value) {
            addCriterion("campaign_id like", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotLike(String value) {
            addCriterion("campaign_id not like", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdIn(List<String> values) {
            addCriterion("campaign_id in", values, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotIn(List<String> values) {
            addCriterion("campaign_id not in", values, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdBetween(String value1, String value2) {
            addCriterion("campaign_id between", value1, value2, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotBetween(String value1, String value2) {
            addCriterion("campaign_id not between", value1, value2, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusIsNull() {
            addCriterion("campaign_status is null");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusIsNotNull() {
            addCriterion("campaign_status is not null");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusEqualTo(String value) {
            addCriterion("campaign_status =", value, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusNotEqualTo(String value) {
            addCriterion("campaign_status <>", value, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusGreaterThan(String value) {
            addCriterion("campaign_status >", value, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusGreaterThanOrEqualTo(String value) {
            addCriterion("campaign_status >=", value, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusLessThan(String value) {
            addCriterion("campaign_status <", value, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusLessThanOrEqualTo(String value) {
            addCriterion("campaign_status <=", value, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusLike(String value) {
            addCriterion("campaign_status like", value, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusNotLike(String value) {
            addCriterion("campaign_status not like", value, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusIn(List<String> values) {
            addCriterion("campaign_status in", values, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusNotIn(List<String> values) {
            addCriterion("campaign_status not in", values, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusBetween(String value1, String value2) {
            addCriterion("campaign_status between", value1, value2, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignStatusNotBetween(String value1, String value2) {
            addCriterion("campaign_status not between", value1, value2, "campaignStatus");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetIsNull() {
            addCriterion("campaign_budget is null");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetIsNotNull() {
            addCriterion("campaign_budget is not null");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetEqualTo(BigDecimal value) {
            addCriterion("campaign_budget =", value, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetNotEqualTo(BigDecimal value) {
            addCriterion("campaign_budget <>", value, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetGreaterThan(BigDecimal value) {
            addCriterion("campaign_budget >", value, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("campaign_budget >=", value, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetLessThan(BigDecimal value) {
            addCriterion("campaign_budget <", value, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetLessThanOrEqualTo(BigDecimal value) {
            addCriterion("campaign_budget <=", value, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetIn(List<BigDecimal> values) {
            addCriterion("campaign_budget in", values, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetNotIn(List<BigDecimal> values) {
            addCriterion("campaign_budget not in", values, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("campaign_budget between", value1, value2, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignBudgetNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("campaign_budget not between", value1, value2, "campaignBudget");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayIsNull() {
            addCriterion("attributed_conversions_oneday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayIsNotNull() {
            addCriterion("attributed_conversions_oneday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayEqualTo(Integer value) {
            addCriterion("attributed_conversions_oneday =", value, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayNotEqualTo(Integer value) {
            addCriterion("attributed_conversions_oneday <>", value, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayGreaterThan(Integer value) {
            addCriterion("attributed_conversions_oneday >", value, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_conversions_oneday >=", value, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayLessThan(Integer value) {
            addCriterion("attributed_conversions_oneday <", value, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_conversions_oneday <=", value, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayIn(List<Integer> values) {
            addCriterion("attributed_conversions_oneday in", values, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayNotIn(List<Integer> values) {
            addCriterion("attributed_conversions_oneday not in", values, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_conversions_oneday between", value1, value2, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsOnedayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_conversions_oneday not between", value1, value2, "attributedConversionsOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayIsNull() {
            addCriterion("attributed_units_ordered_oneday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayIsNotNull() {
            addCriterion("attributed_units_ordered_oneday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayEqualTo(Integer value) {
            addCriterion("attributed_units_ordered_oneday =", value, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayNotEqualTo(Integer value) {
            addCriterion("attributed_units_ordered_oneday <>", value, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayGreaterThan(Integer value) {
            addCriterion("attributed_units_ordered_oneday >", value, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_units_ordered_oneday >=", value, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayLessThan(Integer value) {
            addCriterion("attributed_units_ordered_oneday <", value, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_units_ordered_oneday <=", value, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayIn(List<Integer> values) {
            addCriterion("attributed_units_ordered_oneday in", values, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayNotIn(List<Integer> values) {
            addCriterion("attributed_units_ordered_oneday not in", values, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_units_ordered_oneday between", value1, value2, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedOnedayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_units_ordered_oneday not between", value1, value2, "attributedUnitsOrderedOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayIsNull() {
            addCriterion("attributed_sales_oneday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayIsNotNull() {
            addCriterion("attributed_sales_oneday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayEqualTo(Integer value) {
            addCriterion("attributed_sales_oneday =", value, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayNotEqualTo(Integer value) {
            addCriterion("attributed_sales_oneday <>", value, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayGreaterThan(Integer value) {
            addCriterion("attributed_sales_oneday >", value, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_sales_oneday >=", value, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayLessThan(Integer value) {
            addCriterion("attributed_sales_oneday <", value, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_sales_oneday <=", value, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayIn(List<Integer> values) {
            addCriterion("attributed_sales_oneday in", values, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayNotIn(List<Integer> values) {
            addCriterion("attributed_sales_oneday not in", values, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_sales_oneday between", value1, value2, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesOnedayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_sales_oneday not between", value1, value2, "attributedSalesOneday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayIsNull() {
            addCriterion("attributed_units_ordered_sevenday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayIsNotNull() {
            addCriterion("attributed_units_ordered_sevenday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayEqualTo(Integer value) {
            addCriterion("attributed_units_ordered_sevenday =", value, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayNotEqualTo(Integer value) {
            addCriterion("attributed_units_ordered_sevenday <>", value, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayGreaterThan(Integer value) {
            addCriterion("attributed_units_ordered_sevenday >", value, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_units_ordered_sevenday >=", value, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayLessThan(Integer value) {
            addCriterion("attributed_units_ordered_sevenday <", value, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_units_ordered_sevenday <=", value, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayIn(List<Integer> values) {
            addCriterion("attributed_units_ordered_sevenday in", values, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayNotIn(List<Integer> values) {
            addCriterion("attributed_units_ordered_sevenday not in", values, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_units_ordered_sevenday between", value1, value2, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedUnitsOrderedSevendayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_units_ordered_sevenday not between", value1, value2, "attributedUnitsOrderedSevenday");
            return (Criteria) this;
        }

        public Criteria andImpressionsIsNull() {
            addCriterion("impressions is null");
            return (Criteria) this;
        }

        public Criteria andImpressionsIsNotNull() {
            addCriterion("impressions is not null");
            return (Criteria) this;
        }

        public Criteria andImpressionsEqualTo(Integer value) {
            addCriterion("impressions =", value, "impressions");
            return (Criteria) this;
        }

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

        public Criteria andImpressionsGreaterThan(Integer value) {
            addCriterion("impressions >", value, "impressions");
            return (Criteria) this;
        }

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

        public Criteria andImpressionsLessThan(Integer value) {
            addCriterion("impressions <", value, "impressions");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andClicksIsNull() {
            addCriterion("clicks is null");
            return (Criteria) this;
        }

        public Criteria andClicksIsNotNull() {
            addCriterion("clicks is not null");
            return (Criteria) this;
        }

        public Criteria andClicksEqualTo(Integer value) {
            addCriterion("clicks =", value, "clicks");
            return (Criteria) this;
        }

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

        public Criteria andClicksGreaterThan(Integer value) {
            addCriterion("clicks >", value, "clicks");
            return (Criteria) this;
        }

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

        public Criteria andClicksLessThan(Integer value) {
            addCriterion("clicks <", value, "clicks");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andCostIsNull() {
            addCriterion("cost is null");
            return (Criteria) this;
        }

        public Criteria andCostIsNotNull() {
            addCriterion("cost is not null");
            return (Criteria) this;
        }

        public Criteria andCostEqualTo(BigDecimal value) {
            addCriterion("cost =", value, "cost");
            return (Criteria) this;
        }

        public Criteria andCostNotEqualTo(BigDecimal value) {
            addCriterion("cost <>", value, "cost");
            return (Criteria) this;
        }

        public Criteria andCostGreaterThan(BigDecimal value) {
            addCriterion("cost >", value, "cost");
            return (Criteria) this;
        }

        public Criteria andCostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cost >=", value, "cost");
            return (Criteria) this;
        }

        public Criteria andCostLessThan(BigDecimal value) {
            addCriterion("cost <", value, "cost");
            return (Criteria) this;
        }

        public Criteria andCostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cost <=", value, "cost");
            return (Criteria) this;
        }

        public Criteria andCostIn(List<BigDecimal> values) {
            addCriterion("cost in", values, "cost");
            return (Criteria) this;
        }

        public Criteria andCostNotIn(List<BigDecimal> values) {
            addCriterion("cost not in", values, "cost");
            return (Criteria) this;
        }

        public Criteria andCostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost between", value1, value2, "cost");
            return (Criteria) this;
        }

        public Criteria andCostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost not between", value1, value2, "cost");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayIsNull() {
            addCriterion("attributed_conversions_thirtyday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayIsNotNull() {
            addCriterion("attributed_conversions_thirtyday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayEqualTo(Integer value) {
            addCriterion("attributed_conversions_thirtyday =", value, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayNotEqualTo(Integer value) {
            addCriterion("attributed_conversions_thirtyday <>", value, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayGreaterThan(Integer value) {
            addCriterion("attributed_conversions_thirtyday >", value, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_conversions_thirtyday >=", value, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayLessThan(Integer value) {
            addCriterion("attributed_conversions_thirtyday <", value, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_conversions_thirtyday <=", value, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayIn(List<Integer> values) {
            addCriterion("attributed_conversions_thirtyday in", values, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayNotIn(List<Integer> values) {
            addCriterion("attributed_conversions_thirtyday not in", values, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_conversions_thirtyday between", value1, value2, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsThirtydayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_conversions_thirtyday not between", value1, value2, "attributedConversionsThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayIsNull() {
            addCriterion("attributed_conversions_fourteenday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayIsNotNull() {
            addCriterion("attributed_conversions_fourteenday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayEqualTo(Integer value) {
            addCriterion("attributed_conversions_fourteenday =", value, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayNotEqualTo(Integer value) {
            addCriterion("attributed_conversions_fourteenday <>", value, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayGreaterThan(Integer value) {
            addCriterion("attributed_conversions_fourteenday >", value, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_conversions_fourteenday >=", value, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayLessThan(Integer value) {
            addCriterion("attributed_conversions_fourteenday <", value, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_conversions_fourteenday <=", value, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayIn(List<Integer> values) {
            addCriterion("attributed_conversions_fourteenday in", values, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayNotIn(List<Integer> values) {
            addCriterion("attributed_conversions_fourteenday not in", values, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_conversions_fourteenday between", value1, value2, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsFourteendayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_conversions_fourteenday not between", value1, value2, "attributedConversionsFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayIsNull() {
            addCriterion("attributed_conversions_sevenday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayIsNotNull() {
            addCriterion("attributed_conversions_sevenday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayEqualTo(Integer value) {
            addCriterion("attributed_conversions_sevenday =", value, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayNotEqualTo(Integer value) {
            addCriterion("attributed_conversions_sevenday <>", value, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayGreaterThan(Integer value) {
            addCriterion("attributed_conversions_sevenday >", value, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_conversions_sevenday >=", value, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayLessThan(Integer value) {
            addCriterion("attributed_conversions_sevenday <", value, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_conversions_sevenday <=", value, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayIn(List<Integer> values) {
            addCriterion("attributed_conversions_sevenday in", values, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayNotIn(List<Integer> values) {
            addCriterion("attributed_conversions_sevenday not in", values, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_conversions_sevenday between", value1, value2, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedConversionsSevendayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_conversions_sevenday not between", value1, value2, "attributedConversionsSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayIsNull() {
            addCriterion("attributed_sales_thirtyday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayIsNotNull() {
            addCriterion("attributed_sales_thirtyday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayEqualTo(Integer value) {
            addCriterion("attributed_sales_thirtyday =", value, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayNotEqualTo(Integer value) {
            addCriterion("attributed_sales_thirtyday <>", value, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayGreaterThan(Integer value) {
            addCriterion("attributed_sales_thirtyday >", value, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_sales_thirtyday >=", value, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayLessThan(Integer value) {
            addCriterion("attributed_sales_thirtyday <", value, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_sales_thirtyday <=", value, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayIn(List<Integer> values) {
            addCriterion("attributed_sales_thirtyday in", values, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayNotIn(List<Integer> values) {
            addCriterion("attributed_sales_thirtyday not in", values, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_sales_thirtyday between", value1, value2, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesThirtydayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_sales_thirtyday not between", value1, value2, "attributedSalesThirtyday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayIsNull() {
            addCriterion("attributed_sales_fourteenday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayIsNotNull() {
            addCriterion("attributed_sales_fourteenday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayEqualTo(Integer value) {
            addCriterion("attributed_sales_fourteenday =", value, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayNotEqualTo(Integer value) {
            addCriterion("attributed_sales_fourteenday <>", value, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayGreaterThan(Integer value) {
            addCriterion("attributed_sales_fourteenday >", value, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_sales_fourteenday >=", value, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayLessThan(Integer value) {
            addCriterion("attributed_sales_fourteenday <", value, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_sales_fourteenday <=", value, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayIn(List<Integer> values) {
            addCriterion("attributed_sales_fourteenday in", values, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayNotIn(List<Integer> values) {
            addCriterion("attributed_sales_fourteenday not in", values, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_sales_fourteenday between", value1, value2, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesFourteendayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_sales_fourteenday not between", value1, value2, "attributedSalesFourteenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayIsNull() {
            addCriterion("attributed_sales_sevenday is null");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayIsNotNull() {
            addCriterion("attributed_sales_sevenday is not null");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayEqualTo(Integer value) {
            addCriterion("attributed_sales_sevenday =", value, "attributedSalesSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayNotEqualTo(Integer value) {
            addCriterion("attributed_sales_sevenday <>", value, "attributedSalesSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayGreaterThan(Integer value) {
            addCriterion("attributed_sales_sevenday >", value, "attributedSalesSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayGreaterThanOrEqualTo(Integer value) {
            addCriterion("attributed_sales_sevenday >=", value, "attributedSalesSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayLessThan(Integer value) {
            addCriterion("attributed_sales_sevenday <", value, "attributedSalesSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayLessThanOrEqualTo(Integer value) {
            addCriterion("attributed_sales_sevenday <=", value, "attributedSalesSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayIn(List<Integer> values) {
            addCriterion("attributed_sales_sevenday in", values, "attributedSalesSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayNotIn(List<Integer> values) {
            addCriterion("attributed_sales_sevenday not in", values, "attributedSalesSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayBetween(Integer value1, Integer value2) {
            addCriterion("attributed_sales_sevenday between", value1, value2, "attributedSalesSevenday");
            return (Criteria) this;
        }

        public Criteria andAttributedSalesSevendayNotBetween(Integer value1, Integer value2) {
            addCriterion("attributed_sales_sevenday not between", value1, value2, "attributedSalesSevenday");
            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 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 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 andGmtCreateTimeIsNull() {
            addCriterion("gmt_create_time is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeIsNotNull() {
            addCriterion("gmt_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeEqualTo(LocalDateTime value) {
            addCriterion("gmt_create_time =", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_create_time <>", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeGreaterThan(LocalDateTime value) {
            addCriterion("gmt_create_time >", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create_time >=", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeLessThan(LocalDateTime value) {
            addCriterion("gmt_create_time <", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create_time <=", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeIn(List<LocalDateTime> values) {
            addCriterion("gmt_create_time in", values, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_create_time not in", values, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_create_time between", value1, value2, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_create_time not between", value1, value2, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeIsNull() {
            addCriterion("gmt_modify_time is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeIsNotNull() {
            addCriterion("gmt_modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeEqualTo(LocalDateTime value) {
            addCriterion("gmt_modify_time =", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_modify_time <>", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeGreaterThan(LocalDateTime value) {
            addCriterion("gmt_modify_time >", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modify_time >=", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeLessThan(LocalDateTime value) {
            addCriterion("gmt_modify_time <", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modify_time <=", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeIn(List<LocalDateTime> values) {
            addCriterion("gmt_modify_time in", values, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_modify_time not in", values, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modify_time between", value1, value2, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modify_time not between", value1, value2, "gmtModifyTime");
            return (Criteria) this;
        }
    }

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

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

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

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_amazon_advert
         *
         * @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_amazon_advert
         *
         * @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_amazon_advert
         *
         * @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_amazon_advert
         *
         * @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_amazon_advert
             *
             * @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_amazon_advert
     *
     * @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_amazon_advert
     *
     * @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_amazon_advert
         *
         * @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_amazon_advert
     *
     * @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_amazon_advert
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void example(DcBaseFinanceAmazonExample example);
    }
}