package com.bailuntec.domain.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DcAutoConfigDelivery {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_config_delivery.id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_config_delivery.gmt_create
     *
     * @mbg.generated
     */
    private LocalDateTime gmtCreate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_config_delivery.gmt_modified
     *
     * @mbg.generated
     */
    private LocalDateTime gmtModified;

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_config_delivery.tranfer_bale
     *
     * @mbg.generated
     */
    private Integer tranferBale;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_config_delivery.tranfer_head
     *
     * @mbg.generated
     */
    private Integer tranferHead;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_config_delivery.abroad_inbound
     *
     * @mbg.generated
     */
    private Integer abroadInbound;

    public DcAutoConfigDelivery() {
    }

    public DcAutoConfigDelivery(Integer tranferBale, Integer tranferHead, Integer abroadInbound) {
        this.tranferBale = tranferBale;
        this.tranferHead = tranferHead;
        this.abroadInbound = abroadInbound;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_config_delivery
     *
     * @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(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", variableCode=").append(variableCode);
        sb.append(", variableName=").append(variableName);
        sb.append(", type=").append(type);
        sb.append(", blOperator=").append(blOperator);
        sb.append(", remark=").append(remark);
        sb.append(", status=").append(status);
        sb.append(", tranferBale=").append(tranferBale);
        sb.append(", tranferHead=").append(tranferHead);
        sb.append(", abroadInbound=").append(abroadInbound);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_config_delivery
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DcAutoConfigDelivery other = (DcAutoConfigDelivery) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()))
            && (this.getVariableCode() == null ? other.getVariableCode() == null : this.getVariableCode().equals(other.getVariableCode()))
            && (this.getVariableName() == null ? other.getVariableName() == null : this.getVariableName().equals(other.getVariableName()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getBlOperator() == null ? other.getBlOperator() == null : this.getBlOperator().equals(other.getBlOperator()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getTranferBale() == null ? other.getTranferBale() == null : this.getTranferBale().equals(other.getTranferBale()))
            && (this.getTranferHead() == null ? other.getTranferHead() == null : this.getTranferHead().equals(other.getTranferHead()))
            && (this.getAbroadInbound() == null ? other.getAbroadInbound() == null : this.getAbroadInbound().equals(other.getAbroadInbound()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_config_delivery
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        result = prime * result + ((getVariableCode() == null) ? 0 : getVariableCode().hashCode());
        result = prime * result + ((getVariableName() == null) ? 0 : getVariableName().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getBlOperator() == null) ? 0 : getBlOperator().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getTranferBale() == null) ? 0 : getTranferBale().hashCode());
        result = prime * result + ((getTranferHead() == null) ? 0 : getTranferHead().hashCode());
        result = prime * result + ((getAbroadInbound() == null) ? 0 : getAbroadInbound().hashCode());
        return result;
    }


}