package com.minpay.db.table.model; import java.util.ArrayList; import java.util.List; public class ImRoleItemRelExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table im_role_item_rel * * @mbggenerated */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table im_role_item_rel * * @mbggenerated */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table im_role_item_rel * * @mbggenerated */ protected List oredCriteria; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table im_role_item_rel * * @mbggenerated */ public ImRoleItemRelExample() { oredCriteria = new ArrayList(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table im_role_item_rel * * @mbggenerated */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table im_role_item_rel * * @mbggenerated */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table im_role_item_rel * * @mbggenerated */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table im_role_item_rel * * @mbggenerated */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table im_role_item_rel * * @mbggenerated */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table im_role_item_rel * * @mbggenerated */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table im_role_item_rel * * @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 im_role_item_rel * * @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 im_role_item_rel * * @mbggenerated */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table im_role_item_rel * * @mbggenerated */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table im_role_item_rel * * @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 andItemidIsNull() { addCriterion("RIR_ITEMID is null"); return (Criteria) this; } public Criteria andItemidIsNotNull() { addCriterion("RIR_ITEMID is not null"); return (Criteria) this; } public Criteria andItemidEqualTo(String value) { if(value == null ){ andItemidIsNull(); } else { addCriterion("RIR_ITEMID =", value, "itemid"); } return (Criteria) this; } public Criteria andItemidNotEqualTo(String value) { if(value == null ){ andItemidIsNotNull(); } else { addCriterion("RIR_ITEMID <>", value, "itemid"); } return (Criteria) this; } public Criteria andItemidGreaterThan(String value) { addCriterion("RIR_ITEMID >", value, "itemid"); return (Criteria) this; } public Criteria andItemidGreaterThanOrEqualTo(String value) { addCriterion("RIR_ITEMID >=", value, "itemid"); return (Criteria) this; } public Criteria andItemidLessThan(String value) { addCriterion("RIR_ITEMID <", value, "itemid"); return (Criteria) this; } public Criteria andItemidLessThanOrEqualTo(String value) { addCriterion("RIR_ITEMID <=", value, "itemid"); return (Criteria) this; } public Criteria andItemidLike(String value) { addCriterion("RIR_ITEMID like", value, "itemid"); return (Criteria) this; } public Criteria andItemidNotLike(String value) { addCriterion("RIR_ITEMID not like", value, "itemid"); return (Criteria) this; } public Criteria andItemidIn(List values) { addCriterion("RIR_ITEMID in", values, "itemid"); return (Criteria) this; } public Criteria andItemidNotIn(List values) { addCriterion("RIR_ITEMID not in", values, "itemid"); return (Criteria) this; } public Criteria andItemidBetween(String value1, String value2) { addCriterion("RIR_ITEMID between", value1, value2, "itemid"); return (Criteria) this; } public Criteria andItemidNotBetween(String value1, String value2) { addCriterion("RIR_ITEMID not between", value1, value2, "itemid"); return (Criteria) this; } public Criteria andRoleidIsNull() { addCriterion("RIR_ROLEID is null"); return (Criteria) this; } public Criteria andRoleidIsNotNull() { addCriterion("RIR_ROLEID is not null"); return (Criteria) this; } public Criteria andRoleidEqualTo(String value) { if(value == null ){ andRoleidIsNull(); } else { addCriterion("RIR_ROLEID =", value, "roleid"); } return (Criteria) this; } public Criteria andRoleidNotEqualTo(String value) { if(value == null ){ andRoleidIsNotNull(); } else { addCriterion("RIR_ROLEID <>", value, "roleid"); } return (Criteria) this; } public Criteria andRoleidGreaterThan(String value) { addCriterion("RIR_ROLEID >", value, "roleid"); return (Criteria) this; } public Criteria andRoleidGreaterThanOrEqualTo(String value) { addCriterion("RIR_ROLEID >=", value, "roleid"); return (Criteria) this; } public Criteria andRoleidLessThan(String value) { addCriterion("RIR_ROLEID <", value, "roleid"); return (Criteria) this; } public Criteria andRoleidLessThanOrEqualTo(String value) { addCriterion("RIR_ROLEID <=", value, "roleid"); return (Criteria) this; } public Criteria andRoleidLike(String value) { addCriterion("RIR_ROLEID like", value, "roleid"); return (Criteria) this; } public Criteria andRoleidNotLike(String value) { addCriterion("RIR_ROLEID not like", value, "roleid"); return (Criteria) this; } public Criteria andRoleidIn(List values) { addCriterion("RIR_ROLEID in", values, "roleid"); return (Criteria) this; } public Criteria andRoleidNotIn(List values) { addCriterion("RIR_ROLEID not in", values, "roleid"); return (Criteria) this; } public Criteria andRoleidBetween(String value1, String value2) { addCriterion("RIR_ROLEID between", value1, value2, "roleid"); return (Criteria) this; } public Criteria andRoleidNotBetween(String value1, String value2) { addCriterion("RIR_ROLEID not between", value1, value2, "roleid"); return (Criteria) this; } public Criteria andAuthroleIsNull() { addCriterion("RIR_AUTHROLE is null"); return (Criteria) this; } public Criteria andAuthroleIsNotNull() { addCriterion("RIR_AUTHROLE is not null"); return (Criteria) this; } public Criteria andAuthroleEqualTo(String value) { if(value == null ){ andAuthroleIsNull(); } else { addCriterion("RIR_AUTHROLE =", value, "authrole"); } return (Criteria) this; } public Criteria andAuthroleNotEqualTo(String value) { if(value == null ){ andAuthroleIsNotNull(); } else { addCriterion("RIR_AUTHROLE <>", value, "authrole"); } return (Criteria) this; } public Criteria andAuthroleGreaterThan(String value) { addCriterion("RIR_AUTHROLE >", value, "authrole"); return (Criteria) this; } public Criteria andAuthroleGreaterThanOrEqualTo(String value) { addCriterion("RIR_AUTHROLE >=", value, "authrole"); return (Criteria) this; } public Criteria andAuthroleLessThan(String value) { addCriterion("RIR_AUTHROLE <", value, "authrole"); return (Criteria) this; } public Criteria andAuthroleLessThanOrEqualTo(String value) { addCriterion("RIR_AUTHROLE <=", value, "authrole"); return (Criteria) this; } public Criteria andAuthroleLike(String value) { addCriterion("RIR_AUTHROLE like", value, "authrole"); return (Criteria) this; } public Criteria andAuthroleNotLike(String value) { addCriterion("RIR_AUTHROLE not like", value, "authrole"); return (Criteria) this; } public Criteria andAuthroleIn(List values) { addCriterion("RIR_AUTHROLE in", values, "authrole"); return (Criteria) this; } public Criteria andAuthroleNotIn(List values) { addCriterion("RIR_AUTHROLE not in", values, "authrole"); return (Criteria) this; } public Criteria andAuthroleBetween(String value1, String value2) { addCriterion("RIR_AUTHROLE between", value1, value2, "authrole"); return (Criteria) this; } public Criteria andAuthroleNotBetween(String value1, String value2) { addCriterion("RIR_AUTHROLE not between", value1, value2, "authrole"); return (Criteria) this; } public Criteria andAuthtypeIsNull() { addCriterion("RIR_AUTHTYPE is null"); return (Criteria) this; } public Criteria andAuthtypeIsNotNull() { addCriterion("RIR_AUTHTYPE is not null"); return (Criteria) this; } public Criteria andAuthtypeEqualTo(String value) { if(value == null ){ andAuthtypeIsNull(); } else { addCriterion("RIR_AUTHTYPE =", value, "authtype"); } return (Criteria) this; } public Criteria andAuthtypeNotEqualTo(String value) { if(value == null ){ andAuthtypeIsNotNull(); } else { addCriterion("RIR_AUTHTYPE <>", value, "authtype"); } return (Criteria) this; } public Criteria andAuthtypeGreaterThan(String value) { addCriterion("RIR_AUTHTYPE >", value, "authtype"); return (Criteria) this; } public Criteria andAuthtypeGreaterThanOrEqualTo(String value) { addCriterion("RIR_AUTHTYPE >=", value, "authtype"); return (Criteria) this; } public Criteria andAuthtypeLessThan(String value) { addCriterion("RIR_AUTHTYPE <", value, "authtype"); return (Criteria) this; } public Criteria andAuthtypeLessThanOrEqualTo(String value) { addCriterion("RIR_AUTHTYPE <=", value, "authtype"); return (Criteria) this; } public Criteria andAuthtypeLike(String value) { addCriterion("RIR_AUTHTYPE like", value, "authtype"); return (Criteria) this; } public Criteria andAuthtypeNotLike(String value) { addCriterion("RIR_AUTHTYPE not like", value, "authtype"); return (Criteria) this; } public Criteria andAuthtypeIn(List values) { addCriterion("RIR_AUTHTYPE in", values, "authtype"); return (Criteria) this; } public Criteria andAuthtypeNotIn(List values) { addCriterion("RIR_AUTHTYPE not in", values, "authtype"); return (Criteria) this; } public Criteria andAuthtypeBetween(String value1, String value2) { addCriterion("RIR_AUTHTYPE between", value1, value2, "authtype"); return (Criteria) this; } public Criteria andAuthtypeNotBetween(String value1, String value2) { addCriterion("RIR_AUTHTYPE not between", value1, value2, "authtype"); return (Criteria) this; } public Criteria andAuthshapeIsNull() { addCriterion("RIR_AUTHSHAPE is null"); return (Criteria) this; } public Criteria andAuthshapeIsNotNull() { addCriterion("RIR_AUTHSHAPE is not null"); return (Criteria) this; } public Criteria andAuthshapeEqualTo(String value) { if(value == null ){ andAuthshapeIsNull(); } else { addCriterion("RIR_AUTHSHAPE =", value, "authshape"); } return (Criteria) this; } public Criteria andAuthshapeNotEqualTo(String value) { if(value == null ){ andAuthshapeIsNotNull(); } else { addCriterion("RIR_AUTHSHAPE <>", value, "authshape"); } return (Criteria) this; } public Criteria andAuthshapeGreaterThan(String value) { addCriterion("RIR_AUTHSHAPE >", value, "authshape"); return (Criteria) this; } public Criteria andAuthshapeGreaterThanOrEqualTo(String value) { addCriterion("RIR_AUTHSHAPE >=", value, "authshape"); return (Criteria) this; } public Criteria andAuthshapeLessThan(String value) { addCriterion("RIR_AUTHSHAPE <", value, "authshape"); return (Criteria) this; } public Criteria andAuthshapeLessThanOrEqualTo(String value) { addCriterion("RIR_AUTHSHAPE <=", value, "authshape"); return (Criteria) this; } public Criteria andAuthshapeLike(String value) { addCriterion("RIR_AUTHSHAPE like", value, "authshape"); return (Criteria) this; } public Criteria andAuthshapeNotLike(String value) { addCriterion("RIR_AUTHSHAPE not like", value, "authshape"); return (Criteria) this; } public Criteria andAuthshapeIn(List values) { addCriterion("RIR_AUTHSHAPE in", values, "authshape"); return (Criteria) this; } public Criteria andAuthshapeNotIn(List values) { addCriterion("RIR_AUTHSHAPE not in", values, "authshape"); return (Criteria) this; } public Criteria andAuthshapeBetween(String value1, String value2) { addCriterion("RIR_AUTHSHAPE between", value1, value2, "authshape"); return (Criteria) this; } public Criteria andAuthshapeNotBetween(String value1, String value2) { addCriterion("RIR_AUTHSHAPE not between", value1, value2, "authshape"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table im_role_item_rel * * @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 im_role_item_rel * * @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; } } }