package com.bailuntec.domain.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TOrderShippingWithBLOBs extends TOrderShipping {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_shipping.OriginalSku
     *
     * @mbg.generated
     */
    private String originalsku;

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_shipping
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", originalsku=").append(originalsku);
        sb.append(", haspeihuosku=").append(haspeihuosku);
        sb.append(", nopeihuosku=").append(nopeihuosku);
        sb.append(", hasshipsku=").append(hasshipsku);
        sb.append(", noshipsku=").append(noshipsku);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_shipping
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TOrderShippingWithBLOBs other = (TOrderShippingWithBLOBs) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrdernoplatform() == null ? other.getOrdernoplatform() == null : this.getOrdernoplatform().equals(other.getOrdernoplatform()))
            && (this.getOrdernosystem() == null ? other.getOrdernosystem() == null : this.getOrdernosystem().equals(other.getOrdernosystem()))
            && (this.getOrdersource() == null ? other.getOrdersource() == null : this.getOrdersource().equals(other.getOrdersource()))
            && (this.getShipwarehouse() == null ? other.getShipwarehouse() == null : this.getShipwarehouse().equals(other.getShipwarehouse()))
            && (this.getOrderexceptionstatus() == null ? other.getOrderexceptionstatus() == null : this.getOrderexceptionstatus().equals(other.getOrderexceptionstatus()))
            && (this.getExceptionname() == null ? other.getExceptionname() == null : this.getExceptionname().equals(other.getExceptionname()))
            && (this.getIsshipagain() == null ? other.getIsshipagain() == null : this.getIsshipagain().equals(other.getIsshipagain()))
            && (this.getPeihuostatus() == null ? other.getPeihuostatus() == null : this.getPeihuostatus().equals(other.getPeihuostatus()))
            && (this.getPeihuono() == null ? other.getPeihuono() == null : this.getPeihuono().equals(other.getPeihuono()))
            && (this.getPeihuotime() == null ? other.getPeihuotime() == null : this.getPeihuotime().equals(other.getPeihuotime()))
            && (this.getShipstatus() == null ? other.getShipstatus() == null : this.getShipstatus().equals(other.getShipstatus()))
            && (this.getOutwarehousetime() == null ? other.getOutwarehousetime() == null : this.getOutwarehousetime().equals(other.getOutwarehousetime()))
            && (this.getOutweight() == null ? other.getOutweight() == null : this.getOutweight().equals(other.getOutweight()))
            && (this.getPackageno() == null ? other.getPackageno() == null : this.getPackageno().equals(other.getPackageno()))
            && (this.getIsassignlogistics() == null ? other.getIsassignlogistics() == null : this.getIsassignlogistics().equals(other.getIsassignlogistics()))
            && (this.getAssignlogistics() == null ? other.getAssignlogistics() == null : this.getAssignlogistics().equals(other.getAssignlogistics()))
            && (this.getShiplogistics() == null ? other.getShiplogistics() == null : this.getShiplogistics().equals(other.getShiplogistics()))
            && (this.getIsfaraway() == null ? other.getIsfaraway() == null : this.getIsfaraway().equals(other.getIsfaraway()))
            && (this.getLogisticsno() == null ? other.getLogisticsno() == null : this.getLogisticsno().equals(other.getLogisticsno()))
            && (this.getCreatetime() == null ? other.getCreatetime() == null : this.getCreatetime().equals(other.getCreatetime()))
            && (this.getUpdatetime() == null ? other.getUpdatetime() == null : this.getUpdatetime().equals(other.getUpdatetime()))
            && (this.getHid() == null ? other.getHid() == null : this.getHid().equals(other.getHid()))
            && (this.getPlatformexpress() == null ? other.getPlatformexpress() == null : this.getPlatformexpress().equals(other.getPlatformexpress()))
            && (this.getShipaddress() == null ? other.getShipaddress() == null : this.getShipaddress().equals(other.getShipaddress()))
            && (this.getShipcountry() == null ? other.getShipcountry() == null : this.getShipcountry().equals(other.getShipcountry()))
            && (this.getShipwarehousesjson() == null ? other.getShipwarehousesjson() == null : this.getShipwarehousesjson().equals(other.getShipwarehousesjson()))
            && (this.getMatchwarehousecount() == null ? other.getMatchwarehousecount() == null : this.getMatchwarehousecount().equals(other.getMatchwarehousecount()))
            && (this.getOrderSystem() == null ? other.getOrderSystem() == null : this.getOrderSystem().equals(other.getOrderSystem()))
            && (this.getOriginalsku() == null ? other.getOriginalsku() == null : this.getOriginalsku().equals(other.getOriginalsku()))
            && (this.getHaspeihuosku() == null ? other.getHaspeihuosku() == null : this.getHaspeihuosku().equals(other.getHaspeihuosku()))
            && (this.getNopeihuosku() == null ? other.getNopeihuosku() == null : this.getNopeihuosku().equals(other.getNopeihuosku()))
            && (this.getHasshipsku() == null ? other.getHasshipsku() == null : this.getHasshipsku().equals(other.getHasshipsku()))
            && (this.getNoshipsku() == null ? other.getNoshipsku() == null : this.getNoshipsku().equals(other.getNoshipsku()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_shipping
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrdernoplatform() == null) ? 0 : getOrdernoplatform().hashCode());
        result = prime * result + ((getOrdernosystem() == null) ? 0 : getOrdernosystem().hashCode());
        result = prime * result + ((getOrdersource() == null) ? 0 : getOrdersource().hashCode());
        result = prime * result + ((getShipwarehouse() == null) ? 0 : getShipwarehouse().hashCode());
        result = prime * result + ((getOrderexceptionstatus() == null) ? 0 : getOrderexceptionstatus().hashCode());
        result = prime * result + ((getExceptionname() == null) ? 0 : getExceptionname().hashCode());
        result = prime * result + ((getIsshipagain() == null) ? 0 : getIsshipagain().hashCode());
        result = prime * result + ((getPeihuostatus() == null) ? 0 : getPeihuostatus().hashCode());
        result = prime * result + ((getPeihuono() == null) ? 0 : getPeihuono().hashCode());
        result = prime * result + ((getPeihuotime() == null) ? 0 : getPeihuotime().hashCode());
        result = prime * result + ((getShipstatus() == null) ? 0 : getShipstatus().hashCode());
        result = prime * result + ((getOutwarehousetime() == null) ? 0 : getOutwarehousetime().hashCode());
        result = prime * result + ((getOutweight() == null) ? 0 : getOutweight().hashCode());
        result = prime * result + ((getPackageno() == null) ? 0 : getPackageno().hashCode());
        result = prime * result + ((getIsassignlogistics() == null) ? 0 : getIsassignlogistics().hashCode());
        result = prime * result + ((getAssignlogistics() == null) ? 0 : getAssignlogistics().hashCode());
        result = prime * result + ((getShiplogistics() == null) ? 0 : getShiplogistics().hashCode());
        result = prime * result + ((getIsfaraway() == null) ? 0 : getIsfaraway().hashCode());
        result = prime * result + ((getLogisticsno() == null) ? 0 : getLogisticsno().hashCode());
        result = prime * result + ((getCreatetime() == null) ? 0 : getCreatetime().hashCode());
        result = prime * result + ((getUpdatetime() == null) ? 0 : getUpdatetime().hashCode());
        result = prime * result + ((getHid() == null) ? 0 : getHid().hashCode());
        result = prime * result + ((getPlatformexpress() == null) ? 0 : getPlatformexpress().hashCode());
        result = prime * result + ((getShipaddress() == null) ? 0 : getShipaddress().hashCode());
        result = prime * result + ((getShipcountry() == null) ? 0 : getShipcountry().hashCode());
        result = prime * result + ((getShipwarehousesjson() == null) ? 0 : getShipwarehousesjson().hashCode());
        result = prime * result + ((getMatchwarehousecount() == null) ? 0 : getMatchwarehousecount().hashCode());
        result = prime * result + ((getOrderSystem() == null) ? 0 : getOrderSystem().hashCode());
        result = prime * result + ((getOriginalsku() == null) ? 0 : getOriginalsku().hashCode());
        result = prime * result + ((getHaspeihuosku() == null) ? 0 : getHaspeihuosku().hashCode());
        result = prime * result + ((getNopeihuosku() == null) ? 0 : getNopeihuosku().hashCode());
        result = prime * result + ((getHasshipsku() == null) ? 0 : getHasshipsku().hashCode());
        result = prime * result + ((getNoshipsku() == null) ? 0 : getNoshipsku().hashCode());
        return result;
    }
}