package com.bailuntec.domain.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.transfer_type_1_days
     *
     * @mbg.generated
     */
    private BigDecimal transferType1Days;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.transfer_type_2_days
     *
     * @mbg.generated
     */
    private BigDecimal transferType2Days;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.transfer_bale_delivery
     *
     * @mbg.generated
     */
    private BigDecimal transferBaleDelivery;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.abroad_inbound_delivery
     *
     * @mbg.generated
     */
    private BigDecimal abroadInboundDelivery;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.transfer_delivery
     *
     * @mbg.generated
     */
    private BigDecimal transferDelivery;

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.transfer_bale_delivery_ocean
     *
     * @mbg.generated
     */
    private BigDecimal transferBaleDeliveryOcean;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.abroad_inbound_delivery_ocean
     *
     * @mbg.generated
     */
    private BigDecimal abroadInboundDeliveryOcean;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.transfer_delivery_ocean
     *
     * @mbg.generated
     */
    private BigDecimal transferDeliveryOcean;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.transfer_bale_delivery_empty
     *
     * @mbg.generated
     */
    private BigDecimal transferBaleDeliveryEmpty;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.abroad_inbound_delivery_empty
     *
     * @mbg.generated
     */
    private BigDecimal abroadInboundDeliveryEmpty;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.transfer_delivery_empty
     *
     * @mbg.generated
     */
    private BigDecimal transferDeliveryEmpty;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_average_warehouse
     *
     * @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(", bailunSku=").append(bailunSku);
        sb.append(", warehouseCode=").append(warehouseCode);
        sb.append(", inboundDays=").append(inboundDays);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", transferType1Days=").append(transferType1Days);
        sb.append(", transferType2Days=").append(transferType2Days);
        sb.append(", transferBaleDelivery=").append(transferBaleDelivery);
        sb.append(", abroadInboundDelivery=").append(abroadInboundDelivery);
        sb.append(", transferDelivery=").append(transferDelivery);
        sb.append(", productCount=").append(productCount);
        sb.append(", orderCount=").append(orderCount);
        sb.append(", productCount2=").append(productCount2);
        sb.append(", orderCount2=").append(orderCount2);
        sb.append(", productCount3=").append(productCount3);
        sb.append(", orderCount3=").append(orderCount3);
        sb.append(", transferBaleDeliveryOcean=").append(transferBaleDeliveryOcean);
        sb.append(", abroadInboundDeliveryOcean=").append(abroadInboundDeliveryOcean);
        sb.append(", transferDeliveryOcean=").append(transferDeliveryOcean);
        sb.append(", transferBaleDeliveryEmpty=").append(transferBaleDeliveryEmpty);
        sb.append(", abroadInboundDeliveryEmpty=").append(abroadInboundDeliveryEmpty);
        sb.append(", transferDeliveryEmpty=").append(transferDeliveryEmpty);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_average_warehouse
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DcAverageWarehouse other = (DcAverageWarehouse) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getBailunSku() == null ? other.getBailunSku() == null : this.getBailunSku().equals(other.getBailunSku()))
            && (this.getWarehouseCode() == null ? other.getWarehouseCode() == null : this.getWarehouseCode().equals(other.getWarehouseCode()))
            && (this.getInboundDays() == null ? other.getInboundDays() == null : this.getInboundDays().equals(other.getInboundDays()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getTransferType1Days() == null ? other.getTransferType1Days() == null : this.getTransferType1Days().equals(other.getTransferType1Days()))
            && (this.getTransferType2Days() == null ? other.getTransferType2Days() == null : this.getTransferType2Days().equals(other.getTransferType2Days()))
            && (this.getTransferBaleDelivery() == null ? other.getTransferBaleDelivery() == null : this.getTransferBaleDelivery().equals(other.getTransferBaleDelivery()))
            && (this.getAbroadInboundDelivery() == null ? other.getAbroadInboundDelivery() == null : this.getAbroadInboundDelivery().equals(other.getAbroadInboundDelivery()))
            && (this.getTransferDelivery() == null ? other.getTransferDelivery() == null : this.getTransferDelivery().equals(other.getTransferDelivery()))
            && (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount()))
            && (this.getOrderCount() == null ? other.getOrderCount() == null : this.getOrderCount().equals(other.getOrderCount()))
            && (this.getProductCount2() == null ? other.getProductCount2() == null : this.getProductCount2().equals(other.getProductCount2()))
            && (this.getOrderCount2() == null ? other.getOrderCount2() == null : this.getOrderCount2().equals(other.getOrderCount2()))
            && (this.getProductCount3() == null ? other.getProductCount3() == null : this.getProductCount3().equals(other.getProductCount3()))
            && (this.getOrderCount3() == null ? other.getOrderCount3() == null : this.getOrderCount3().equals(other.getOrderCount3()))
            && (this.getTransferBaleDeliveryOcean() == null ? other.getTransferBaleDeliveryOcean() == null : this.getTransferBaleDeliveryOcean().equals(other.getTransferBaleDeliveryOcean()))
            && (this.getAbroadInboundDeliveryOcean() == null ? other.getAbroadInboundDeliveryOcean() == null : this.getAbroadInboundDeliveryOcean().equals(other.getAbroadInboundDeliveryOcean()))
            && (this.getTransferDeliveryOcean() == null ? other.getTransferDeliveryOcean() == null : this.getTransferDeliveryOcean().equals(other.getTransferDeliveryOcean()))
            && (this.getTransferBaleDeliveryEmpty() == null ? other.getTransferBaleDeliveryEmpty() == null : this.getTransferBaleDeliveryEmpty().equals(other.getTransferBaleDeliveryEmpty()))
            && (this.getAbroadInboundDeliveryEmpty() == null ? other.getAbroadInboundDeliveryEmpty() == null : this.getAbroadInboundDeliveryEmpty().equals(other.getAbroadInboundDeliveryEmpty()))
            && (this.getTransferDeliveryEmpty() == null ? other.getTransferDeliveryEmpty() == null : this.getTransferDeliveryEmpty().equals(other.getTransferDeliveryEmpty()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_average_warehouse
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getBailunSku() == null) ? 0 : getBailunSku().hashCode());
        result = prime * result + ((getWarehouseCode() == null) ? 0 : getWarehouseCode().hashCode());
        result = prime * result + ((getInboundDays() == null) ? 0 : getInboundDays().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getTransferType1Days() == null) ? 0 : getTransferType1Days().hashCode());
        result = prime * result + ((getTransferType2Days() == null) ? 0 : getTransferType2Days().hashCode());
        result = prime * result + ((getTransferBaleDelivery() == null) ? 0 : getTransferBaleDelivery().hashCode());
        result = prime * result + ((getAbroadInboundDelivery() == null) ? 0 : getAbroadInboundDelivery().hashCode());
        result = prime * result + ((getTransferDelivery() == null) ? 0 : getTransferDelivery().hashCode());
        result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode());
        result = prime * result + ((getOrderCount() == null) ? 0 : getOrderCount().hashCode());
        result = prime * result + ((getProductCount2() == null) ? 0 : getProductCount2().hashCode());
        result = prime * result + ((getOrderCount2() == null) ? 0 : getOrderCount2().hashCode());
        result = prime * result + ((getProductCount3() == null) ? 0 : getProductCount3().hashCode());
        result = prime * result + ((getOrderCount3() == null) ? 0 : getOrderCount3().hashCode());
        result = prime * result + ((getTransferBaleDeliveryOcean() == null) ? 0 : getTransferBaleDeliveryOcean().hashCode());
        result = prime * result + ((getAbroadInboundDeliveryOcean() == null) ? 0 : getAbroadInboundDeliveryOcean().hashCode());
        result = prime * result + ((getTransferDeliveryOcean() == null) ? 0 : getTransferDeliveryOcean().hashCode());
        result = prime * result + ((getTransferBaleDeliveryEmpty() == null) ? 0 : getTransferBaleDeliveryEmpty().hashCode());
        result = prime * result + ((getAbroadInboundDeliveryEmpty() == null) ? 0 : getAbroadInboundDeliveryEmpty().hashCode());
        result = prime * result + ((getTransferDeliveryEmpty() == null) ? 0 : getTransferDeliveryEmpty().hashCode());
        return result;
    }
}