package com.minpay.db.table.model; import java.util.ArrayList; import java.util.List; public class VmRechargeRuleExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table vm_recharge_rule * * @mbggenerated */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table vm_recharge_rule * * @mbggenerated */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table vm_recharge_rule * * @mbggenerated */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public VmRechargeRuleExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table vm_recharge_rule * * @mbggenerated */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table vm_recharge_rule * * @mbggenerated */ protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List 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("VRR_ID is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("VRR_ID is not null"); return (Criteria) this; } public Criteria andIdEqualTo(String value) { if(value == null ){ andIdIsNull(); } else { addCriterion("VRR_ID =", value, "id"); } return (Criteria) this; } public Criteria andIdNotEqualTo(String value) { if(value == null ){ andIdIsNotNull(); } else { addCriterion("VRR_ID <>", value, "id"); } return (Criteria) this; } public Criteria andIdGreaterThan(String value) { addCriterion("VRR_ID >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(String value) { addCriterion("VRR_ID >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(String value) { addCriterion("VRR_ID <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(String value) { addCriterion("VRR_ID <=", value, "id"); return (Criteria) this; } public Criteria andIdLike(String value) { addCriterion("VRR_ID like", value, "id"); return (Criteria) this; } public Criteria andIdNotLike(String value) { addCriterion("VRR_ID not like", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("VRR_ID in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("VRR_ID not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(String value1, String value2) { addCriterion("VRR_ID between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(String value1, String value2) { addCriterion("VRR_ID not between", value1, value2, "id"); return (Criteria) this; } public Criteria andRechargeAmtIsNull() { addCriterion("VRR_RECHARGE_AMT is null"); return (Criteria) this; } public Criteria andRechargeAmtIsNotNull() { addCriterion("VRR_RECHARGE_AMT is not null"); return (Criteria) this; } public Criteria andRechargeAmtEqualTo(String value) { if(value == null ){ andRechargeAmtIsNull(); } else { addCriterion("VRR_RECHARGE_AMT =", value, "rechargeAmt"); } return (Criteria) this; } public Criteria andRechargeAmtNotEqualTo(String value) { if(value == null ){ andRechargeAmtIsNotNull(); } else { addCriterion("VRR_RECHARGE_AMT <>", value, "rechargeAmt"); } return (Criteria) this; } public Criteria andRechargeAmtGreaterThan(String value) { addCriterion("VRR_RECHARGE_AMT >", value, "rechargeAmt"); return (Criteria) this; } public Criteria andRechargeAmtGreaterThanOrEqualTo(String value) { addCriterion("VRR_RECHARGE_AMT >=", value, "rechargeAmt"); return (Criteria) this; } public Criteria andRechargeAmtLessThan(String value) { addCriterion("VRR_RECHARGE_AMT <", value, "rechargeAmt"); return (Criteria) this; } public Criteria andRechargeAmtLessThanOrEqualTo(String value) { addCriterion("VRR_RECHARGE_AMT <=", value, "rechargeAmt"); return (Criteria) this; } public Criteria andRechargeAmtLike(String value) { addCriterion("VRR_RECHARGE_AMT like", value, "rechargeAmt"); return (Criteria) this; } public Criteria andRechargeAmtNotLike(String value) { addCriterion("VRR_RECHARGE_AMT not like", value, "rechargeAmt"); return (Criteria) this; } public Criteria andRechargeAmtIn(List values) { addCriterion("VRR_RECHARGE_AMT in", values, "rechargeAmt"); return (Criteria) this; } public Criteria andRechargeAmtNotIn(List values) { addCriterion("VRR_RECHARGE_AMT not in", values, "rechargeAmt"); return (Criteria) this; } public Criteria andRechargeAmtBetween(String value1, String value2) { addCriterion("VRR_RECHARGE_AMT between", value1, value2, "rechargeAmt"); return (Criteria) this; } public Criteria andRechargeAmtNotBetween(String value1, String value2) { addCriterion("VRR_RECHARGE_AMT not between", value1, value2, "rechargeAmt"); return (Criteria) this; } public Criteria andGiveAmtIsNull() { addCriterion("VRR_GIVE_AMT is null"); return (Criteria) this; } public Criteria andGiveAmtIsNotNull() { addCriterion("VRR_GIVE_AMT is not null"); return (Criteria) this; } public Criteria andGiveAmtEqualTo(String value) { if(value == null ){ andGiveAmtIsNull(); } else { addCriterion("VRR_GIVE_AMT =", value, "giveAmt"); } return (Criteria) this; } public Criteria andGiveAmtNotEqualTo(String value) { if(value == null ){ andGiveAmtIsNotNull(); } else { addCriterion("VRR_GIVE_AMT <>", value, "giveAmt"); } return (Criteria) this; } public Criteria andGiveAmtGreaterThan(String value) { addCriterion("VRR_GIVE_AMT >", value, "giveAmt"); return (Criteria) this; } public Criteria andGiveAmtGreaterThanOrEqualTo(String value) { addCriterion("VRR_GIVE_AMT >=", value, "giveAmt"); return (Criteria) this; } public Criteria andGiveAmtLessThan(String value) { addCriterion("VRR_GIVE_AMT <", value, "giveAmt"); return (Criteria) this; } public Criteria andGiveAmtLessThanOrEqualTo(String value) { addCriterion("VRR_GIVE_AMT <=", value, "giveAmt"); return (Criteria) this; } public Criteria andGiveAmtLike(String value) { addCriterion("VRR_GIVE_AMT like", value, "giveAmt"); return (Criteria) this; } public Criteria andGiveAmtNotLike(String value) { addCriterion("VRR_GIVE_AMT not like", value, "giveAmt"); return (Criteria) this; } public Criteria andGiveAmtIn(List values) { addCriterion("VRR_GIVE_AMT in", values, "giveAmt"); return (Criteria) this; } public Criteria andGiveAmtNotIn(List values) { addCriterion("VRR_GIVE_AMT not in", values, "giveAmt"); return (Criteria) this; } public Criteria andGiveAmtBetween(String value1, String value2) { addCriterion("VRR_GIVE_AMT between", value1, value2, "giveAmt"); return (Criteria) this; } public Criteria andGiveAmtNotBetween(String value1, String value2) { addCriterion("VRR_GIVE_AMT not between", value1, value2, "giveAmt"); return (Criteria) this; } public Criteria andDescIsNull() { addCriterion("VRR_DESC is null"); return (Criteria) this; } public Criteria andDescIsNotNull() { addCriterion("VRR_DESC is not null"); return (Criteria) this; } public Criteria andDescEqualTo(String value) { if(value == null ){ andDescIsNull(); } else { addCriterion("VRR_DESC =", value, "desc"); } return (Criteria) this; } public Criteria andDescNotEqualTo(String value) { if(value == null ){ andDescIsNotNull(); } else { addCriterion("VRR_DESC <>", value, "desc"); } return (Criteria) this; } public Criteria andDescGreaterThan(String value) { addCriterion("VRR_DESC >", value, "desc"); return (Criteria) this; } public Criteria andDescGreaterThanOrEqualTo(String value) { addCriterion("VRR_DESC >=", value, "desc"); return (Criteria) this; } public Criteria andDescLessThan(String value) { addCriterion("VRR_DESC <", value, "desc"); return (Criteria) this; } public Criteria andDescLessThanOrEqualTo(String value) { addCriterion("VRR_DESC <=", value, "desc"); return (Criteria) this; } public Criteria andDescLike(String value) { addCriterion("VRR_DESC like", value, "desc"); return (Criteria) this; } public Criteria andDescNotLike(String value) { addCriterion("VRR_DESC not like", value, "desc"); return (Criteria) this; } public Criteria andDescIn(List values) { addCriterion("VRR_DESC in", values, "desc"); return (Criteria) this; } public Criteria andDescNotIn(List values) { addCriterion("VRR_DESC not in", values, "desc"); return (Criteria) this; } public Criteria andDescBetween(String value1, String value2) { addCriterion("VRR_DESC between", value1, value2, "desc"); return (Criteria) this; } public Criteria andDescNotBetween(String value1, String value2) { addCriterion("VRR_DESC not between", value1, value2, "desc"); return (Criteria) this; } public Criteria andCreateTimeIsNull() { addCriterion("VRR_CREATE_TIME is null"); return (Criteria) this; } public Criteria andCreateTimeIsNotNull() { addCriterion("VRR_CREATE_TIME is not null"); return (Criteria) this; } public Criteria andCreateTimeEqualTo(String value) { if(value == null ){ andCreateTimeIsNull(); } else { addCriterion("VRR_CREATE_TIME =", value, "createTime"); } return (Criteria) this; } public Criteria andCreateTimeNotEqualTo(String value) { if(value == null ){ andCreateTimeIsNotNull(); } else { addCriterion("VRR_CREATE_TIME <>", value, "createTime"); } return (Criteria) this; } public Criteria andCreateTimeGreaterThan(String value) { addCriterion("VRR_CREATE_TIME >", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThanOrEqualTo(String value) { addCriterion("VRR_CREATE_TIME >=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThan(String value) { addCriterion("VRR_CREATE_TIME <", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThanOrEqualTo(String value) { addCriterion("VRR_CREATE_TIME <=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLike(String value) { addCriterion("VRR_CREATE_TIME like", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotLike(String value) { addCriterion("VRR_CREATE_TIME not like", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeIn(List values) { addCriterion("VRR_CREATE_TIME in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotIn(List values) { addCriterion("VRR_CREATE_TIME not in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeBetween(String value1, String value2) { addCriterion("VRR_CREATE_TIME between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotBetween(String value1, String value2) { addCriterion("VRR_CREATE_TIME not between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andCreateUserIsNull() { addCriterion("VRR_CREATE_USER is null"); return (Criteria) this; } public Criteria andCreateUserIsNotNull() { addCriterion("VRR_CREATE_USER is not null"); return (Criteria) this; } public Criteria andCreateUserEqualTo(String value) { if(value == null ){ andCreateUserIsNull(); } else { addCriterion("VRR_CREATE_USER =", value, "createUser"); } return (Criteria) this; } public Criteria andCreateUserNotEqualTo(String value) { if(value == null ){ andCreateUserIsNotNull(); } else { addCriterion("VRR_CREATE_USER <>", value, "createUser"); } return (Criteria) this; } public Criteria andCreateUserGreaterThan(String value) { addCriterion("VRR_CREATE_USER >", value, "createUser"); return (Criteria) this; } public Criteria andCreateUserGreaterThanOrEqualTo(String value) { addCriterion("VRR_CREATE_USER >=", value, "createUser"); return (Criteria) this; } public Criteria andCreateUserLessThan(String value) { addCriterion("VRR_CREATE_USER <", value, "createUser"); return (Criteria) this; } public Criteria andCreateUserLessThanOrEqualTo(String value) { addCriterion("VRR_CREATE_USER <=", value, "createUser"); return (Criteria) this; } public Criteria andCreateUserLike(String value) { addCriterion("VRR_CREATE_USER like", value, "createUser"); return (Criteria) this; } public Criteria andCreateUserNotLike(String value) { addCriterion("VRR_CREATE_USER not like", value, "createUser"); return (Criteria) this; } public Criteria andCreateUserIn(List values) { addCriterion("VRR_CREATE_USER in", values, "createUser"); return (Criteria) this; } public Criteria andCreateUserNotIn(List values) { addCriterion("VRR_CREATE_USER not in", values, "createUser"); return (Criteria) this; } public Criteria andCreateUserBetween(String value1, String value2) { addCriterion("VRR_CREATE_USER between", value1, value2, "createUser"); return (Criteria) this; } public Criteria andCreateUserNotBetween(String value1, String value2) { addCriterion("VRR_CREATE_USER not between", value1, value2, "createUser"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("VRR_STATE is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("VRR_STATE is not null"); return (Criteria) this; } public Criteria andStateEqualTo(String value) { if(value == null ){ andStateIsNull(); } else { addCriterion("VRR_STATE =", value, "state"); } return (Criteria) this; } public Criteria andStateNotEqualTo(String value) { if(value == null ){ andStateIsNotNull(); } else { addCriterion("VRR_STATE <>", value, "state"); } return (Criteria) this; } public Criteria andStateGreaterThan(String value) { addCriterion("VRR_STATE >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(String value) { addCriterion("VRR_STATE >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(String value) { addCriterion("VRR_STATE <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(String value) { addCriterion("VRR_STATE <=", value, "state"); return (Criteria) this; } public Criteria andStateLike(String value) { addCriterion("VRR_STATE like", value, "state"); return (Criteria) this; } public Criteria andStateNotLike(String value) { addCriterion("VRR_STATE not like", value, "state"); return (Criteria) this; } public Criteria andStateIn(List values) { addCriterion("VRR_STATE in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List values) { addCriterion("VRR_STATE not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(String value1, String value2) { addCriterion("VRR_STATE between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(String value1, String value2) { addCriterion("VRR_STATE not between", value1, value2, "state"); return (Criteria) this; } public Criteria andBranchIsNull() { addCriterion("VRR_BRANCH is null"); return (Criteria) this; } public Criteria andBranchIsNotNull() { addCriterion("VRR_BRANCH is not null"); return (Criteria) this; } public Criteria andBranchEqualTo(String value) { if(value == null ){ andBranchIsNull(); } else { addCriterion("VRR_BRANCH =", value, "branch"); } return (Criteria) this; } public Criteria andBranchNotEqualTo(String value) { if(value == null ){ andBranchIsNotNull(); } else { addCriterion("VRR_BRANCH <>", value, "branch"); } return (Criteria) this; } public Criteria andBranchGreaterThan(String value) { addCriterion("VRR_BRANCH >", value, "branch"); return (Criteria) this; } public Criteria andBranchGreaterThanOrEqualTo(String value) { addCriterion("VRR_BRANCH >=", value, "branch"); return (Criteria) this; } public Criteria andBranchLessThan(String value) { addCriterion("VRR_BRANCH <", value, "branch"); return (Criteria) this; } public Criteria andBranchLessThanOrEqualTo(String value) { addCriterion("VRR_BRANCH <=", value, "branch"); return (Criteria) this; } public Criteria andBranchLike(String value) { addCriterion("VRR_BRANCH like", value, "branch"); return (Criteria) this; } public Criteria andBranchNotLike(String value) { addCriterion("VRR_BRANCH not like", value, "branch"); return (Criteria) this; } public Criteria andBranchIn(List values) { addCriterion("VRR_BRANCH in", values, "branch"); return (Criteria) this; } public Criteria andBranchNotIn(List values) { addCriterion("VRR_BRANCH not in", values, "branch"); return (Criteria) this; } public Criteria andBranchBetween(String value1, String value2) { addCriterion("VRR_BRANCH between", value1, value2, "branch"); return (Criteria) this; } public Criteria andBranchNotBetween(String value1, String value2) { addCriterion("VRR_BRANCH not between", value1, value2, "branch"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table vm_recharge_rule * * @mbggenerated do_not_delete_during_merge */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table vm_recharge_rule * * @mbggenerated */ public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; 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; } protected Criterion(String condition) { super(); this.condition = condition; this.noValue = true; } protected Criterion(String condition, Object value) { super(); this.condition = condition; this.value = value; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value, Object secondValue) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.betweenValue = true; } } }