package org.linlinjava.jz.db.domain;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;

public class HmEmployRelation {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.order_no
     *
     * @mbg.generated
     */
    private String orderNo;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.user_servant_id
     *
     * @mbg.generated
     */
    private Long userServantId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.user_employer_id
     *
     * @mbg.generated
     */
    private Long userEmployerId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.user_butler_id
     *
     * @mbg.generated
     */
    private Long userButlerId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.servant_name
     *
     * @mbg.generated
     */
    private String servantName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.employer_name
     *
     * @mbg.generated
     */
    private String employerName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.butler_name
     *
     * @mbg.generated
     */
    private String butlerName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.butler_first_confirm
     *
     * @mbg.generated
     */
    private Integer butlerFirstConfirm;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.first_service_time
     *
     * @mbg.generated
     */
    private LocalDateTime firstServiceTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.rest_mode
     *
     * @mbg.generated
     */
    private Integer restMode;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.rest_day
     *
     * @mbg.generated
     */
    private String restDay;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.is_need_clock
     *
     * @mbg.generated
     */
    private Integer isNeedClock;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.work_scope
     *
     * @mbg.generated
     */
    private String workScope;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.is_invalid
     *
     * @mbg.generated
     */
    private Integer isInvalid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.relieve_time
     *
     * @mbg.generated
     */
    private LocalDateTime relieveTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.create_time
     *
     * @mbg.generated
     */
    private LocalDateTime createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.update_time
     *
     * @mbg.generated
     */
    private LocalDateTime updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_employ_relation.remark
     *
     * @mbg.generated
     */
    private String remark;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.id
     *
     * @return the value of hm_employ_relation.id
     *
     * @mbg.generated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.id
     *
     * @param id the value for hm_employ_relation.id
     *
     * @mbg.generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.order_no
     *
     * @return the value of hm_employ_relation.order_no
     *
     * @mbg.generated
     */
    public String getOrderNo() {
        return orderNo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.order_no
     *
     * @param orderNo the value for hm_employ_relation.order_no
     *
     * @mbg.generated
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.user_servant_id
     *
     * @return the value of hm_employ_relation.user_servant_id
     *
     * @mbg.generated
     */
    public Long getUserServantId() {
        return userServantId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.user_servant_id
     *
     * @param userServantId the value for hm_employ_relation.user_servant_id
     *
     * @mbg.generated
     */
    public void setUserServantId(Long userServantId) {
        this.userServantId = userServantId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.user_employer_id
     *
     * @return the value of hm_employ_relation.user_employer_id
     *
     * @mbg.generated
     */
    public Long getUserEmployerId() {
        return userEmployerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.user_employer_id
     *
     * @param userEmployerId the value for hm_employ_relation.user_employer_id
     *
     * @mbg.generated
     */
    public void setUserEmployerId(Long userEmployerId) {
        this.userEmployerId = userEmployerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.user_butler_id
     *
     * @return the value of hm_employ_relation.user_butler_id
     *
     * @mbg.generated
     */
    public Long getUserButlerId() {
        return userButlerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.user_butler_id
     *
     * @param userButlerId the value for hm_employ_relation.user_butler_id
     *
     * @mbg.generated
     */
    public void setUserButlerId(Long userButlerId) {
        this.userButlerId = userButlerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.servant_name
     *
     * @return the value of hm_employ_relation.servant_name
     *
     * @mbg.generated
     */
    public String getServantName() {
        return servantName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.servant_name
     *
     * @param servantName the value for hm_employ_relation.servant_name
     *
     * @mbg.generated
     */
    public void setServantName(String servantName) {
        this.servantName = servantName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.employer_name
     *
     * @return the value of hm_employ_relation.employer_name
     *
     * @mbg.generated
     */
    public String getEmployerName() {
        return employerName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.employer_name
     *
     * @param employerName the value for hm_employ_relation.employer_name
     *
     * @mbg.generated
     */
    public void setEmployerName(String employerName) {
        this.employerName = employerName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.butler_name
     *
     * @return the value of hm_employ_relation.butler_name
     *
     * @mbg.generated
     */
    public String getButlerName() {
        return butlerName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.butler_name
     *
     * @param butlerName the value for hm_employ_relation.butler_name
     *
     * @mbg.generated
     */
    public void setButlerName(String butlerName) {
        this.butlerName = butlerName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.butler_first_confirm
     *
     * @return the value of hm_employ_relation.butler_first_confirm
     *
     * @mbg.generated
     */
    public Integer getButlerFirstConfirm() {
        return butlerFirstConfirm;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.butler_first_confirm
     *
     * @param butlerFirstConfirm the value for hm_employ_relation.butler_first_confirm
     *
     * @mbg.generated
     */
    public void setButlerFirstConfirm(Integer butlerFirstConfirm) {
        this.butlerFirstConfirm = butlerFirstConfirm;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.first_service_time
     *
     * @return the value of hm_employ_relation.first_service_time
     *
     * @mbg.generated
     */
    public LocalDateTime getFirstServiceTime() {
        return firstServiceTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.first_service_time
     *
     * @param firstServiceTime the value for hm_employ_relation.first_service_time
     *
     * @mbg.generated
     */
    public void setFirstServiceTime(LocalDateTime firstServiceTime) {
        this.firstServiceTime = firstServiceTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.rest_mode
     *
     * @return the value of hm_employ_relation.rest_mode
     *
     * @mbg.generated
     */
    public Integer getRestMode() {
        return restMode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.rest_mode
     *
     * @param restMode the value for hm_employ_relation.rest_mode
     *
     * @mbg.generated
     */
    public void setRestMode(Integer restMode) {
        this.restMode = restMode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.rest_day
     *
     * @return the value of hm_employ_relation.rest_day
     *
     * @mbg.generated
     */
    public String getRestDay() {
        return restDay;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.rest_day
     *
     * @param restDay the value for hm_employ_relation.rest_day
     *
     * @mbg.generated
     */
    public void setRestDay(String restDay) {
        this.restDay = restDay;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.is_need_clock
     *
     * @return the value of hm_employ_relation.is_need_clock
     *
     * @mbg.generated
     */
    public Integer getIsNeedClock() {
        return isNeedClock;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.is_need_clock
     *
     * @param isNeedClock the value for hm_employ_relation.is_need_clock
     *
     * @mbg.generated
     */
    public void setIsNeedClock(Integer isNeedClock) {
        this.isNeedClock = isNeedClock;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.work_scope
     *
     * @return the value of hm_employ_relation.work_scope
     *
     * @mbg.generated
     */
    public String getWorkScope() {
        return workScope;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.work_scope
     *
     * @param workScope the value for hm_employ_relation.work_scope
     *
     * @mbg.generated
     */
    public void setWorkScope(String workScope) {
        this.workScope = workScope;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.is_invalid
     *
     * @return the value of hm_employ_relation.is_invalid
     *
     * @mbg.generated
     */
    public Integer getIsInvalid() {
        return isInvalid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.is_invalid
     *
     * @param isInvalid the value for hm_employ_relation.is_invalid
     *
     * @mbg.generated
     */
    public void setIsInvalid(Integer isInvalid) {
        this.isInvalid = isInvalid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.relieve_time
     *
     * @return the value of hm_employ_relation.relieve_time
     *
     * @mbg.generated
     */
    public LocalDateTime getRelieveTime() {
        return relieveTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.relieve_time
     *
     * @param relieveTime the value for hm_employ_relation.relieve_time
     *
     * @mbg.generated
     */
    public void setRelieveTime(LocalDateTime relieveTime) {
        this.relieveTime = relieveTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.create_time
     *
     * @return the value of hm_employ_relation.create_time
     *
     * @mbg.generated
     */
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.create_time
     *
     * @param createTime the value for hm_employ_relation.create_time
     *
     * @mbg.generated
     */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.update_time
     *
     * @return the value of hm_employ_relation.update_time
     *
     * @mbg.generated
     */
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.update_time
     *
     * @param updateTime the value for hm_employ_relation.update_time
     *
     * @mbg.generated
     */
    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_employ_relation.remark
     *
     * @return the value of hm_employ_relation.remark
     *
     * @mbg.generated
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column hm_employ_relation.remark
     *
     * @param remark the value for hm_employ_relation.remark
     *
     * @mbg.generated
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table hm_employ_relation
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", userServantId=").append(userServantId);
        sb.append(", userEmployerId=").append(userEmployerId);
        sb.append(", userButlerId=").append(userButlerId);
        sb.append(", servantName=").append(servantName);
        sb.append(", employerName=").append(employerName);
        sb.append(", butlerName=").append(butlerName);
        sb.append(", butlerFirstConfirm=").append(butlerFirstConfirm);
        sb.append(", firstServiceTime=").append(firstServiceTime);
        sb.append(", restMode=").append(restMode);
        sb.append(", restDay=").append(restDay);
        sb.append(", isNeedClock=").append(isNeedClock);
        sb.append(", workScope=").append(workScope);
        sb.append(", isInvalid=").append(isInvalid);
        sb.append(", relieveTime=").append(relieveTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table hm_employ_relation
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        HmEmployRelation other = (HmEmployRelation) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo()))
            && (this.getUserServantId() == null ? other.getUserServantId() == null : this.getUserServantId().equals(other.getUserServantId()))
            && (this.getUserEmployerId() == null ? other.getUserEmployerId() == null : this.getUserEmployerId().equals(other.getUserEmployerId()))
            && (this.getUserButlerId() == null ? other.getUserButlerId() == null : this.getUserButlerId().equals(other.getUserButlerId()))
            && (this.getServantName() == null ? other.getServantName() == null : this.getServantName().equals(other.getServantName()))
            && (this.getEmployerName() == null ? other.getEmployerName() == null : this.getEmployerName().equals(other.getEmployerName()))
            && (this.getButlerName() == null ? other.getButlerName() == null : this.getButlerName().equals(other.getButlerName()))
            && (this.getButlerFirstConfirm() == null ? other.getButlerFirstConfirm() == null : this.getButlerFirstConfirm().equals(other.getButlerFirstConfirm()))
            && (this.getFirstServiceTime() == null ? other.getFirstServiceTime() == null : this.getFirstServiceTime().equals(other.getFirstServiceTime()))
            && (this.getRestMode() == null ? other.getRestMode() == null : this.getRestMode().equals(other.getRestMode()))
            && (this.getRestDay() == null ? other.getRestDay() == null : this.getRestDay().equals(other.getRestDay()))
            && (this.getIsNeedClock() == null ? other.getIsNeedClock() == null : this.getIsNeedClock().equals(other.getIsNeedClock()))
            && (this.getWorkScope() == null ? other.getWorkScope() == null : this.getWorkScope().equals(other.getWorkScope()))
            && (this.getIsInvalid() == null ? other.getIsInvalid() == null : this.getIsInvalid().equals(other.getIsInvalid()))
            && (this.getRelieveTime() == null ? other.getRelieveTime() == null : this.getRelieveTime().equals(other.getRelieveTime()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table hm_employ_relation
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode());
        result = prime * result + ((getUserServantId() == null) ? 0 : getUserServantId().hashCode());
        result = prime * result + ((getUserEmployerId() == null) ? 0 : getUserEmployerId().hashCode());
        result = prime * result + ((getUserButlerId() == null) ? 0 : getUserButlerId().hashCode());
        result = prime * result + ((getServantName() == null) ? 0 : getServantName().hashCode());
        result = prime * result + ((getEmployerName() == null) ? 0 : getEmployerName().hashCode());
        result = prime * result + ((getButlerName() == null) ? 0 : getButlerName().hashCode());
        result = prime * result + ((getButlerFirstConfirm() == null) ? 0 : getButlerFirstConfirm().hashCode());
        result = prime * result + ((getFirstServiceTime() == null) ? 0 : getFirstServiceTime().hashCode());
        result = prime * result + ((getRestMode() == null) ? 0 : getRestMode().hashCode());
        result = prime * result + ((getRestDay() == null) ? 0 : getRestDay().hashCode());
        result = prime * result + ((getIsNeedClock() == null) ? 0 : getIsNeedClock().hashCode());
        result = prime * result + ((getWorkScope() == null) ? 0 : getWorkScope().hashCode());
        result = prime * result + ((getIsInvalid() == null) ? 0 : getIsInvalid().hashCode());
        result = prime * result + ((getRelieveTime() == null) ? 0 : getRelieveTime().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        return result;
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table hm_employ_relation
     *
     * @mbg.generated
     */
    public enum Column {
        id("id", "id", "BIGINT", false),
        orderNo("order_no", "orderNo", "VARCHAR", false),
        userServantId("user_servant_id", "userServantId", "BIGINT", false),
        userEmployerId("user_employer_id", "userEmployerId", "BIGINT", false),
        userButlerId("user_butler_id", "userButlerId", "BIGINT", false),
        servantName("servant_name", "servantName", "VARCHAR", false),
        employerName("employer_name", "employerName", "VARCHAR", false),
        butlerName("butler_name", "butlerName", "VARCHAR", false),
        butlerFirstConfirm("butler_first_confirm", "butlerFirstConfirm", "INTEGER", false),
        firstServiceTime("first_service_time", "firstServiceTime", "TIMESTAMP", false),
        restMode("rest_mode", "restMode", "INTEGER", false),
        restDay("rest_day", "restDay", "VARCHAR", false),
        isNeedClock("is_need_clock", "isNeedClock", "INTEGER", false),
        workScope("work_scope", "workScope", "VARCHAR", false),
        isInvalid("is_invalid", "isInvalid", "INTEGER", false),
        relieveTime("relieve_time", "relieveTime", "TIMESTAMP", false),
        createTime("create_time", "createTime", "TIMESTAMP", false),
        updateTime("update_time", "updateTime", "TIMESTAMP", false),
        remark("remark", "remark", "VARCHAR", false);

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        private static final String BEGINNING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        private static final String ENDING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        private final String column;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        private final boolean isColumnNameDelimited;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        private final String javaProperty;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        private final String jdbcType;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public String value() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public String getValue() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public String getJavaProperty() {
            return this.javaProperty;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public String getJdbcType() {
            return this.jdbcType;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
            this.column = column;
            this.javaProperty = javaProperty;
            this.jdbcType = jdbcType;
            this.isColumnNameDelimited = isColumnNameDelimited;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public String desc() {
            return this.getEscapedColumnName() + " DESC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public String asc() {
            return this.getEscapedColumnName() + " ASC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public static Column[] excludes(Column ... excludes) {
            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
            if (excludes != null && excludes.length > 0) {
                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
            }
            return columns.toArray(new Column[]{});
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public static Column[] all() {
            return Column.values();
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public String getEscapedColumnName() {
            if (this.isColumnNameDelimited) {
                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
            } else {
                return this.column;
            }
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_employ_relation
         *
         * @mbg.generated
         */
        public String getAliasedEscapedColumnName() {
            return this.getEscapedColumnName();
        }
    }
}