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 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("]");
        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 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());
        return result;
    }
}