All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hframe.domain.model.HfsecRole_Example Maven / Gradle / Ivy

The newest version!
package com.hframe.domain.model;

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

public class HfsecRole_Example {
    protected String orderByClause;

    protected boolean distinct;

    protected List oredCriteria;

    protected Integer limitStart;

    protected Integer limitEnd;

    public HfsecRole_Example() {
        oredCriteria = new ArrayList();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(Integer limitStart) {
        this.limitStart=limitStart;
    }

    public Integer getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(Integer limitEnd) {
        this.limitEnd=limitEnd;
    }

    public Integer getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List criteria;

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

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

        public List getAllCriteria() {
            return criteria;
        }

        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 andHfsecRoleIdIsNull() {
            addCriterion("hfsec_role_id is null");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdIsNotNull() {
            addCriterion("hfsec_role_id is not null");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdEqualTo(Long value) {
            addCriterion("hfsec_role_id =", value, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdNotEqualTo(Long value) {
            addCriterion("hfsec_role_id <>", value, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdGreaterThan(Long value) {
            addCriterion("hfsec_role_id >", value, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdGreaterThanOrEqualTo(Long value) {
            addCriterion("hfsec_role_id >=", value, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdLessThan(Long value) {
            addCriterion("hfsec_role_id <", value, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdLessThanOrEqualTo(Long value) {
            addCriterion("hfsec_role_id <=", value, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdIn(List values) {
            addCriterion("hfsec_role_id in", values, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdNotIn(List values) {
            addCriterion("hfsec_role_id not in", values, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdBetween(Long value1, Long value2) {
            addCriterion("hfsec_role_id between", value1, value2, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleIdNotBetween(Long value1, Long value2) {
            addCriterion("hfsec_role_id not between", value1, value2, "hfsecRoleId");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeIsNull() {
            addCriterion("hfsec_role_code is null");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeIsNotNull() {
            addCriterion("hfsec_role_code is not null");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeEqualTo(String value) {
            addCriterion("hfsec_role_code =", value, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeNotEqualTo(String value) {
            addCriterion("hfsec_role_code <>", value, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeGreaterThan(String value) {
            addCriterion("hfsec_role_code >", value, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeGreaterThanOrEqualTo(String value) {
            addCriterion("hfsec_role_code >=", value, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeLessThan(String value) {
            addCriterion("hfsec_role_code <", value, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeLessThanOrEqualTo(String value) {
            addCriterion("hfsec_role_code <=", value, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeLike(String value) {
            addCriterion("hfsec_role_code like", value, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeNotLike(String value) {
            addCriterion("hfsec_role_code not like", value, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeIn(List values) {
            addCriterion("hfsec_role_code in", values, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeNotIn(List values) {
            addCriterion("hfsec_role_code not in", values, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeBetween(String value1, String value2) {
            addCriterion("hfsec_role_code between", value1, value2, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleCodeNotBetween(String value1, String value2) {
            addCriterion("hfsec_role_code not between", value1, value2, "hfsecRoleCode");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameIsNull() {
            addCriterion("hfsec_role_name is null");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameIsNotNull() {
            addCriterion("hfsec_role_name is not null");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameEqualTo(String value) {
            addCriterion("hfsec_role_name =", value, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameNotEqualTo(String value) {
            addCriterion("hfsec_role_name <>", value, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameGreaterThan(String value) {
            addCriterion("hfsec_role_name >", value, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameGreaterThanOrEqualTo(String value) {
            addCriterion("hfsec_role_name >=", value, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameLessThan(String value) {
            addCriterion("hfsec_role_name <", value, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameLessThanOrEqualTo(String value) {
            addCriterion("hfsec_role_name <=", value, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameLike(String value) {
            addCriterion("hfsec_role_name like", value, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameNotLike(String value) {
            addCriterion("hfsec_role_name not like", value, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameIn(List values) {
            addCriterion("hfsec_role_name in", values, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameNotIn(List values) {
            addCriterion("hfsec_role_name not in", values, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameBetween(String value1, String value2) {
            addCriterion("hfsec_role_name between", value1, value2, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleNameNotBetween(String value1, String value2) {
            addCriterion("hfsec_role_name not between", value1, value2, "hfsecRoleName");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeIsNull() {
            addCriterion("hfsec_role_type is null");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeIsNotNull() {
            addCriterion("hfsec_role_type is not null");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeEqualTo(Byte value) {
            addCriterion("hfsec_role_type =", value, "hfsecRoleType");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeNotEqualTo(Byte value) {
            addCriterion("hfsec_role_type <>", value, "hfsecRoleType");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeGreaterThan(Byte value) {
            addCriterion("hfsec_role_type >", value, "hfsecRoleType");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("hfsec_role_type >=", value, "hfsecRoleType");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeLessThan(Byte value) {
            addCriterion("hfsec_role_type <", value, "hfsecRoleType");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeLessThanOrEqualTo(Byte value) {
            addCriterion("hfsec_role_type <=", value, "hfsecRoleType");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeIn(List values) {
            addCriterion("hfsec_role_type in", values, "hfsecRoleType");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeNotIn(List values) {
            addCriterion("hfsec_role_type not in", values, "hfsecRoleType");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeBetween(Byte value1, Byte value2) {
            addCriterion("hfsec_role_type between", value1, value2, "hfsecRoleType");
            return (Criteria) this;
        }

        public Criteria andHfsecRoleTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("hfsec_role_type not between", value1, value2, "hfsecRoleType");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andCreatorIdIsNull() {
            addCriterion("creator_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIdIsNotNull() {
            addCriterion("creator_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorIdEqualTo(Long value) {
            addCriterion("creator_id =", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotEqualTo(Long value) {
            addCriterion("creator_id <>", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdGreaterThan(Long value) {
            addCriterion("creator_id >", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdGreaterThanOrEqualTo(Long value) {
            addCriterion("creator_id >=", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdLessThan(Long value) {
            addCriterion("creator_id <", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdLessThanOrEqualTo(Long value) {
            addCriterion("creator_id <=", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdIn(List values) {
            addCriterion("creator_id in", values, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotIn(List values) {
            addCriterion("creator_id not in", values, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdBetween(Long value1, Long value2) {
            addCriterion("creator_id between", value1, value2, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotBetween(Long value1, Long value2) {
            addCriterion("creator_id not between", value1, value2, "creatorId");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andModifierIdIsNull() {
            addCriterion("modifier_id is null");
            return (Criteria) this;
        }

        public Criteria andModifierIdIsNotNull() {
            addCriterion("modifier_id is not null");
            return (Criteria) this;
        }

        public Criteria andModifierIdEqualTo(Long value) {
            addCriterion("modifier_id =", value, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifierIdNotEqualTo(Long value) {
            addCriterion("modifier_id <>", value, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifierIdGreaterThan(Long value) {
            addCriterion("modifier_id >", value, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifierIdGreaterThanOrEqualTo(Long value) {
            addCriterion("modifier_id >=", value, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifierIdLessThan(Long value) {
            addCriterion("modifier_id <", value, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifierIdLessThanOrEqualTo(Long value) {
            addCriterion("modifier_id <=", value, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifierIdIn(List values) {
            addCriterion("modifier_id in", values, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifierIdNotIn(List values) {
            addCriterion("modifier_id not in", values, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifierIdBetween(Long value1, Long value2) {
            addCriterion("modifier_id between", value1, value2, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifierIdNotBetween(Long value1, Long value2) {
            addCriterion("modifier_id not between", value1, value2, "modifierId");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    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);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy