package org.linlinjava.jz.db.domain;

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_butler_task_teach.task_parent_id
     *
     * @mbg.generated
     */
    private Long taskParentId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_butler_task_teach.task_child_id
     *
     * @mbg.generated
     */
    private Long taskChildId;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column hm_butler_task_teach.employ_relation_id
     *
     * @mbg.generated
     */
    private Long employRelationId;

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_butler_task_teach.id
     *
     * @return the value of hm_butler_task_teach.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_butler_task_teach.id
     *
     * @param id the value for hm_butler_task_teach.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_butler_task_teach.task_item_id
     *
     * @return the value of hm_butler_task_teach.task_item_id
     *
     * @mbg.generated
     */
    public String getTaskItemId() {
        return taskItemId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_butler_task_teach.task_json
     *
     * @return the value of hm_butler_task_teach.task_json
     *
     * @mbg.generated
     */
    public String getTaskJson() {
        return taskJson;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_butler_task_teach.abnormal_record
     *
     * @return the value of hm_butler_task_teach.abnormal_record
     *
     * @mbg.generated
     */
    public String getAbnormalRecord() {
        return abnormalRecord;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_butler_task_teach.teach_record
     *
     * @return the value of hm_butler_task_teach.teach_record
     *
     * @mbg.generated
     */
    public String getTeachRecord() {
        return teachRecord;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_butler_task_teach.task_parent_id
     *
     * @return the value of hm_butler_task_teach.task_parent_id
     *
     * @mbg.generated
     */
    public Long getTaskParentId() {
        return taskParentId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_butler_task_teach.task_child_id
     *
     * @return the value of hm_butler_task_teach.task_child_id
     *
     * @mbg.generated
     */
    public Long getTaskChildId() {
        return taskChildId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_butler_task_teach.order_no
     *
     * @return the value of hm_butler_task_teach.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_butler_task_teach.order_no
     *
     * @param orderNo the value for hm_butler_task_teach.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_butler_task_teach.employ_relation_id
     *
     * @return the value of hm_butler_task_teach.employ_relation_id
     *
     * @mbg.generated
     */
    public Long getEmployRelationId() {
        return employRelationId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column hm_butler_task_teach.create_time
     *
     * @return the value of hm_butler_task_teach.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_butler_task_teach.create_time
     *
     * @param createTime the value for hm_butler_task_teach.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_butler_task_teach.remark
     *
     * @return the value of hm_butler_task_teach.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_butler_task_teach.remark
     *
     * @param remark the value for hm_butler_task_teach.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_butler_task_teach
     *
     * @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(", taskItemId=").append(taskItemId);
        sb.append(", taskJson=").append(taskJson);
        sb.append(", abnormalRecord=").append(abnormalRecord);
        sb.append(", teachRecord=").append(teachRecord);
        sb.append(", taskParentId=").append(taskParentId);
        sb.append(", taskChildId=").append(taskChildId);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", employRelationId=").append(employRelationId);
        sb.append(", createTime=").append(createTime);
        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_butler_task_teach
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        HmButlerTaskTeach other = (HmButlerTaskTeach) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getTaskItemId() == null ? other.getTaskItemId() == null : this.getTaskItemId().equals(other.getTaskItemId()))
            && (this.getTaskJson() == null ? other.getTaskJson() == null : this.getTaskJson().equals(other.getTaskJson()))
            && (this.getAbnormalRecord() == null ? other.getAbnormalRecord() == null : this.getAbnormalRecord().equals(other.getAbnormalRecord()))
            && (this.getTeachRecord() == null ? other.getTeachRecord() == null : this.getTeachRecord().equals(other.getTeachRecord()))
            && (this.getTaskParentId() == null ? other.getTaskParentId() == null : this.getTaskParentId().equals(other.getTaskParentId()))
            && (this.getTaskChildId() == null ? other.getTaskChildId() == null : this.getTaskChildId().equals(other.getTaskChildId()))
            && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo()))
            && (this.getEmployRelationId() == null ? other.getEmployRelationId() == null : this.getEmployRelationId().equals(other.getEmployRelationId()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (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_butler_task_teach
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getTaskItemId() == null) ? 0 : getTaskItemId().hashCode());
        result = prime * result + ((getTaskJson() == null) ? 0 : getTaskJson().hashCode());
        result = prime * result + ((getAbnormalRecord() == null) ? 0 : getAbnormalRecord().hashCode());
        result = prime * result + ((getTeachRecord() == null) ? 0 : getTeachRecord().hashCode());
        result = prime * result + ((getTaskParentId() == null) ? 0 : getTaskParentId().hashCode());
        result = prime * result + ((getTaskChildId() == null) ? 0 : getTaskChildId().hashCode());
        result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode());
        result = prime * result + ((getEmployRelationId() == null) ? 0 : getEmployRelationId().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().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_butler_task_teach
     *
     * @mbg.generated
     */
    public enum Column {
        id("id", "id", "BIGINT", false),
        taskItemId("task_item_id", "taskItemId", "VARCHAR", false),
        taskJson("task_json", "taskJson", "VARCHAR", false),
        abnormalRecord("abnormal_record", "abnormalRecord", "VARCHAR", false),
        teachRecord("teach_record", "teachRecord", "VARCHAR", false),
        taskParentId("task_parent_id", "taskParentId", "BIGINT", false),
        taskChildId("task_child_id", "taskChildId", "BIGINT", false),
        orderNo("order_no", "orderNo", "VARCHAR", false),
        employRelationId("employ_relation_id", "employRelationId", "BIGINT", false),
        createTime("create_time", "createTime", "TIMESTAMP", false),
        remark("remark", "remark", "VARCHAR", false);

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

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

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

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

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

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

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

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

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

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

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_butler_task_teach
         *
         * @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_butler_task_teach
         *
         * @mbg.generated
         */
        public String desc() {
            return this.getEscapedColumnName() + " DESC";
        }

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

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_butler_task_teach
         *
         * @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_butler_task_teach
         *
         * @mbg.generated
         */
        public static Column[] all() {
            return Column.values();
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table hm_butler_task_teach
         *
         * @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_butler_task_teach
         *
         * @mbg.generated
         */
        public String getAliasedEscapedColumnName() {
            return this.getEscapedColumnName();
        }
    }
}