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.transfer_sail_days
     *
     * @mbg.generated
     */
    private BigDecimal transferSailDays;

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

    /**
     *
     * 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.product_count_1
     *
     * @mbg.generated
     */
    private Integer productCount1;

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

    /**
     *
     * 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_order_days_ocean
     *
     * @mbg.generated
     */
    private BigDecimal transferOrderDaysOcean;

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

    /**
     *
     * 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 field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_average_warehouse.transfer_sail_days_empty
     *
     * @mbg.generated
     */
    private BigDecimal transferSailDaysEmpty;

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

    /**
     * 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(", transferSailDays=").append(transferSailDays);
        sb.append(", transferOrderDays=").append(transferOrderDays);
        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(", productCount1=").append(productCount1);
        sb.append(", orderCount1=").append(orderCount1);
        sb.append(", transferBaleDeliveryOcean=").append(transferBaleDeliveryOcean);
        sb.append(", abroadInboundDeliveryOcean=").append(abroadInboundDeliveryOcean);
        sb.append(", transferDeliveryOcean=").append(transferDeliveryOcean);
        sb.append(", transferOrderDaysOcean=").append(transferOrderDaysOcean);
        sb.append(", transferSailDaysOcean=").append(transferSailDaysOcean);
        sb.append(", transferBaleDeliveryEmpty=").append(transferBaleDeliveryEmpty);
        sb.append(", abroadInboundDeliveryEmpty=").append(abroadInboundDeliveryEmpty);
        sb.append(", transferDeliveryEmpty=").append(transferDeliveryEmpty);
        sb.append(", transferSailDaysEmpty=").append(transferSailDaysEmpty);
        sb.append(", transferOrderDaysEmpty=").append(transferOrderDaysEmpty);
        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.getTransferSailDays() == null ? other.getTransferSailDays() == null : this.getTransferSailDays().equals(other.getTransferSailDays()))
            && (this.getTransferOrderDays() == null ? other.getTransferOrderDays() == null : this.getTransferOrderDays().equals(other.getTransferOrderDays()))
            && (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.getProductCount1() == null ? other.getProductCount1() == null : this.getProductCount1().equals(other.getProductCount1()))
            && (this.getOrderCount1() == null ? other.getOrderCount1() == null : this.getOrderCount1().equals(other.getOrderCount1()))
            && (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.getTransferOrderDaysOcean() == null ? other.getTransferOrderDaysOcean() == null : this.getTransferOrderDaysOcean().equals(other.getTransferOrderDaysOcean()))
            && (this.getTransferSailDaysOcean() == null ? other.getTransferSailDaysOcean() == null : this.getTransferSailDaysOcean().equals(other.getTransferSailDaysOcean()))
            && (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.getTransferSailDaysEmpty() == null ? other.getTransferSailDaysEmpty() == null : this.getTransferSailDaysEmpty().equals(other.getTransferSailDaysEmpty()))
            && (this.getTransferOrderDaysEmpty() == null ? other.getTransferOrderDaysEmpty() == null : this.getTransferOrderDaysEmpty().equals(other.getTransferOrderDaysEmpty()));
    }

    /**
     * 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 + ((getTransferSailDays() == null) ? 0 : getTransferSailDays().hashCode());
        result = prime * result + ((getTransferOrderDays() == null) ? 0 : getTransferOrderDays().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 + ((getProductCount1() == null) ? 0 : getProductCount1().hashCode());
        result = prime * result + ((getOrderCount1() == null) ? 0 : getOrderCount1().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 + ((getTransferOrderDaysOcean() == null) ? 0 : getTransferOrderDaysOcean().hashCode());
        result = prime * result + ((getTransferSailDaysOcean() == null) ? 0 : getTransferSailDaysOcean().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());
        result = prime * result + ((getTransferSailDaysEmpty() == null) ? 0 : getTransferSailDaysEmpty().hashCode());
        result = prime * result + ((getTransferOrderDaysEmpty() == null) ? 0 : getTransferOrderDaysEmpty().hashCode());
        return result;
    }
}