package com.bailuntec.domain.entity;

import lombok.Data;

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

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

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

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

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.shipping_time
     *
     * @mbg.generated
     */
    private LocalDateTime shippingTime;

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

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

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

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.declare_price
     *
     * @mbg.generated
     */
    private BigDecimal declarePrice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.cost_shipping
     *
     * @mbg.generated
     */
    private BigDecimal costShipping;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.cost_packaging
     *
     * @mbg.generated
     */
    private BigDecimal costPackaging;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.outbound_weight
     *
     * @mbg.generated
     */
    private BigDecimal outboundWeight;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.bailun_sku_cost_shipping
     *
     * @mbg.generated
     */
    private BigDecimal bailunSkuCostShipping;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.bailun_sku_cost_packaging
     *
     * @mbg.generated
     */
    private BigDecimal bailunSkuCostPackaging;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.bailun_sku_outbound_weight
     *
     * @mbg.generated
     */
    private BigDecimal bailunSkuOutboundWeight;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.has_delete
     *
     * @mbg.generated
     */
    private Boolean hasDelete;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.has_pushed
     *
     * @mbg.generated
     */
    private Boolean hasPushed;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.total_fee
     *
     * @mbg.generated
     */
    private BigDecimal totalFee;

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

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

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.wms_to_cny_exchange_rate
     *
     * @mbg.generated
     */
    private BigDecimal wmsToCnyExchangeRate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_oms_pick.wms_to_usd_exchange_rate
     *
     * @mbg.generated
     */
    private BigDecimal wmsToUsdExchangeRate;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_oms_pick
     *
     * @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(", originOrderId=").append(originOrderId);
        sb.append(", bailunAccountId=").append(bailunAccountId);
        sb.append(", bailunOrderId=").append(bailunOrderId);
        sb.append(", pickOrderId=").append(pickOrderId);
        sb.append(", trackingProvider=").append(trackingProvider);
        sb.append(", trackingOrderId=").append(trackingOrderId);
        sb.append(", shippingStatus=").append(shippingStatus);
        sb.append(", createTime=").append(createTime);
        sb.append(", shippingTime=").append(shippingTime);
        sb.append(", warehouseName=").append(warehouseName);
        sb.append(", warehouseCode=").append(warehouseCode);
        sb.append(", logisticsOrderId=").append(logisticsOrderId);
        sb.append(", logisticsOrderName=").append(logisticsOrderName);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", quantityPicked=").append(quantityPicked);
        sb.append(", quantityShipped=").append(quantityShipped);
        sb.append(", bailunSku=").append(bailunSku);
        sb.append(", declarePrice=").append(declarePrice);
        sb.append(", costShipping=").append(costShipping);
        sb.append(", costPackaging=").append(costPackaging);
        sb.append(", outboundWeight=").append(outboundWeight);
        sb.append(", bailunSkuCostShipping=").append(bailunSkuCostShipping);
        sb.append(", bailunSkuCostPackaging=").append(bailunSkuCostPackaging);
        sb.append(", bailunSkuOutboundWeight=").append(bailunSkuOutboundWeight);
        sb.append(", hasDelete=").append(hasDelete);
        sb.append(", companyId=").append(companyId);
        sb.append(", hasPushed=").append(hasPushed);
        sb.append(", totalFee=").append(totalFee);
        sb.append(", shipping=").append(shipping);
        sb.append(", opf=").append(opf);
        sb.append(", fsc=").append(fsc);
        sb.append(", dt=").append(dt);
        sb.append(", rsf=").append(rsf);
        sb.append(", otf=").append(otf);
        sb.append(", whf=").append(whf);
        sb.append(", currencyCode=").append(currencyCode);
        sb.append(", wmsToCnyExchangeRate=").append(wmsToCnyExchangeRate);
        sb.append(", wmsToUsdExchangeRate=").append(wmsToUsdExchangeRate);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_oms_pick
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DcBaseOmsPick other = (DcBaseOmsPick) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOriginOrderId() == null ? other.getOriginOrderId() == null : this.getOriginOrderId().equals(other.getOriginOrderId()))
            && (this.getBailunAccountId() == null ? other.getBailunAccountId() == null : this.getBailunAccountId().equals(other.getBailunAccountId()))
            && (this.getBailunOrderId() == null ? other.getBailunOrderId() == null : this.getBailunOrderId().equals(other.getBailunOrderId()))
            && (this.getPickOrderId() == null ? other.getPickOrderId() == null : this.getPickOrderId().equals(other.getPickOrderId()))
            && (this.getTrackingProvider() == null ? other.getTrackingProvider() == null : this.getTrackingProvider().equals(other.getTrackingProvider()))
            && (this.getTrackingOrderId() == null ? other.getTrackingOrderId() == null : this.getTrackingOrderId().equals(other.getTrackingOrderId()))
            && (this.getShippingStatus() == null ? other.getShippingStatus() == null : this.getShippingStatus().equals(other.getShippingStatus()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getShippingTime() == null ? other.getShippingTime() == null : this.getShippingTime().equals(other.getShippingTime()))
            && (this.getWarehouseName() == null ? other.getWarehouseName() == null : this.getWarehouseName().equals(other.getWarehouseName()))
            && (this.getWarehouseCode() == null ? other.getWarehouseCode() == null : this.getWarehouseCode().equals(other.getWarehouseCode()))
            && (this.getLogisticsOrderId() == null ? other.getLogisticsOrderId() == null : this.getLogisticsOrderId().equals(other.getLogisticsOrderId()))
            && (this.getLogisticsOrderName() == null ? other.getLogisticsOrderName() == null : this.getLogisticsOrderName().equals(other.getLogisticsOrderName()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()))
            && (this.getQuantityPicked() == null ? other.getQuantityPicked() == null : this.getQuantityPicked().equals(other.getQuantityPicked()))
            && (this.getQuantityShipped() == null ? other.getQuantityShipped() == null : this.getQuantityShipped().equals(other.getQuantityShipped()))
            && (this.getBailunSku() == null ? other.getBailunSku() == null : this.getBailunSku().equals(other.getBailunSku()))
            && (this.getDeclarePrice() == null ? other.getDeclarePrice() == null : this.getDeclarePrice().equals(other.getDeclarePrice()))
            && (this.getCostShipping() == null ? other.getCostShipping() == null : this.getCostShipping().equals(other.getCostShipping()))
            && (this.getCostPackaging() == null ? other.getCostPackaging() == null : this.getCostPackaging().equals(other.getCostPackaging()))
            && (this.getOutboundWeight() == null ? other.getOutboundWeight() == null : this.getOutboundWeight().equals(other.getOutboundWeight()))
            && (this.getBailunSkuCostShipping() == null ? other.getBailunSkuCostShipping() == null : this.getBailunSkuCostShipping().equals(other.getBailunSkuCostShipping()))
            && (this.getBailunSkuCostPackaging() == null ? other.getBailunSkuCostPackaging() == null : this.getBailunSkuCostPackaging().equals(other.getBailunSkuCostPackaging()))
            && (this.getBailunSkuOutboundWeight() == null ? other.getBailunSkuOutboundWeight() == null : this.getBailunSkuOutboundWeight().equals(other.getBailunSkuOutboundWeight()))
            && (this.getHasDelete() == null ? other.getHasDelete() == null : this.getHasDelete().equals(other.getHasDelete()))
            && (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
            && (this.getHasPushed() == null ? other.getHasPushed() == null : this.getHasPushed().equals(other.getHasPushed()))
            && (this.getTotalFee() == null ? other.getTotalFee() == null : this.getTotalFee().equals(other.getTotalFee()))
            && (this.getShipping() == null ? other.getShipping() == null : this.getShipping().equals(other.getShipping()))
            && (this.getOpf() == null ? other.getOpf() == null : this.getOpf().equals(other.getOpf()))
            && (this.getFsc() == null ? other.getFsc() == null : this.getFsc().equals(other.getFsc()))
            && (this.getDt() == null ? other.getDt() == null : this.getDt().equals(other.getDt()))
            && (this.getRsf() == null ? other.getRsf() == null : this.getRsf().equals(other.getRsf()))
            && (this.getOtf() == null ? other.getOtf() == null : this.getOtf().equals(other.getOtf()))
            && (this.getWhf() == null ? other.getWhf() == null : this.getWhf().equals(other.getWhf()))
            && (this.getCurrencyCode() == null ? other.getCurrencyCode() == null : this.getCurrencyCode().equals(other.getCurrencyCode()))
            && (this.getWmsToCnyExchangeRate() == null ? other.getWmsToCnyExchangeRate() == null : this.getWmsToCnyExchangeRate().equals(other.getWmsToCnyExchangeRate()))
            && (this.getWmsToUsdExchangeRate() == null ? other.getWmsToUsdExchangeRate() == null : this.getWmsToUsdExchangeRate().equals(other.getWmsToUsdExchangeRate()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_oms_pick
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOriginOrderId() == null) ? 0 : getOriginOrderId().hashCode());
        result = prime * result + ((getBailunAccountId() == null) ? 0 : getBailunAccountId().hashCode());
        result = prime * result + ((getBailunOrderId() == null) ? 0 : getBailunOrderId().hashCode());
        result = prime * result + ((getPickOrderId() == null) ? 0 : getPickOrderId().hashCode());
        result = prime * result + ((getTrackingProvider() == null) ? 0 : getTrackingProvider().hashCode());
        result = prime * result + ((getTrackingOrderId() == null) ? 0 : getTrackingOrderId().hashCode());
        result = prime * result + ((getShippingStatus() == null) ? 0 : getShippingStatus().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getShippingTime() == null) ? 0 : getShippingTime().hashCode());
        result = prime * result + ((getWarehouseName() == null) ? 0 : getWarehouseName().hashCode());
        result = prime * result + ((getWarehouseCode() == null) ? 0 : getWarehouseCode().hashCode());
        result = prime * result + ((getLogisticsOrderId() == null) ? 0 : getLogisticsOrderId().hashCode());
        result = prime * result + ((getLogisticsOrderName() == null) ? 0 : getLogisticsOrderName().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        result = prime * result + ((getQuantityPicked() == null) ? 0 : getQuantityPicked().hashCode());
        result = prime * result + ((getQuantityShipped() == null) ? 0 : getQuantityShipped().hashCode());
        result = prime * result + ((getBailunSku() == null) ? 0 : getBailunSku().hashCode());
        result = prime * result + ((getDeclarePrice() == null) ? 0 : getDeclarePrice().hashCode());
        result = prime * result + ((getCostShipping() == null) ? 0 : getCostShipping().hashCode());
        result = prime * result + ((getCostPackaging() == null) ? 0 : getCostPackaging().hashCode());
        result = prime * result + ((getOutboundWeight() == null) ? 0 : getOutboundWeight().hashCode());
        result = prime * result + ((getBailunSkuCostShipping() == null) ? 0 : getBailunSkuCostShipping().hashCode());
        result = prime * result + ((getBailunSkuCostPackaging() == null) ? 0 : getBailunSkuCostPackaging().hashCode());
        result = prime * result + ((getBailunSkuOutboundWeight() == null) ? 0 : getBailunSkuOutboundWeight().hashCode());
        result = prime * result + ((getHasDelete() == null) ? 0 : getHasDelete().hashCode());
        result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
        result = prime * result + ((getHasPushed() == null) ? 0 : getHasPushed().hashCode());
        result = prime * result + ((getTotalFee() == null) ? 0 : getTotalFee().hashCode());
        result = prime * result + ((getShipping() == null) ? 0 : getShipping().hashCode());
        result = prime * result + ((getOpf() == null) ? 0 : getOpf().hashCode());
        result = prime * result + ((getFsc() == null) ? 0 : getFsc().hashCode());
        result = prime * result + ((getDt() == null) ? 0 : getDt().hashCode());
        result = prime * result + ((getRsf() == null) ? 0 : getRsf().hashCode());
        result = prime * result + ((getOtf() == null) ? 0 : getOtf().hashCode());
        result = prime * result + ((getWhf() == null) ? 0 : getWhf().hashCode());
        result = prime * result + ((getCurrencyCode() == null) ? 0 : getCurrencyCode().hashCode());
        result = prime * result + ((getWmsToCnyExchangeRate() == null) ? 0 : getWmsToCnyExchangeRate().hashCode());
        result = prime * result + ((getWmsToUsdExchangeRate() == null) ? 0 : getWmsToUsdExchangeRate().hashCode());
        return result;
    }
}