package com.bailuntec.domain.entity;

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

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TOrderOriginalWithBLOBs extends TOrderOriginal {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_original.SkuInfo
     *
     * @mbg.generated
     */
    private String skuinfo;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_original.EbayTransactionId
     *
     * @mbg.generated
     */
    private String ebaytransactionid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_order_original.PlatformNoSources
     *
     * @mbg.generated
     */
    private String platformnosources;

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TOrderOriginalWithBLOBs other = (TOrderOriginalWithBLOBs) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getPaytime() == null ? other.getPaytime() == null : this.getPaytime().equals(other.getPaytime()))
            && (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.getOrderstatus() == null ? other.getOrderstatus() == null : this.getOrderstatus().equals(other.getOrderstatus()))
            && (this.getOrdersite() == null ? other.getOrdersite() == null : this.getOrdersite().equals(other.getOrdersite()))
            && (this.getSellaccount() == null ? other.getSellaccount() == null : this.getSellaccount().equals(other.getSellaccount()))
            && (this.getOrderamount() == null ? other.getOrderamount() == null : this.getOrderamount().equals(other.getOrderamount()))
            && (this.getShipwarehouse() == null ? other.getShipwarehouse() == null : this.getShipwarehouse().equals(other.getShipwarehouse()))
            && (this.getProducttitle() == null ? other.getProducttitle() == null : this.getProducttitle().equals(other.getProducttitle()))
            && (this.getOrdertime() == null ? other.getOrdertime() == null : this.getOrdertime().equals(other.getOrdertime()))
            && (this.getPaypalinaccount() == null ? other.getPaypalinaccount() == null : this.getPaypalinaccount().equals(other.getPaypalinaccount()))
            && (this.getPaypaloutaccount() == null ? other.getPaypaloutaccount() == null : this.getPaypaloutaccount().equals(other.getPaypaloutaccount()))
            && (this.getBuyerid() == null ? other.getBuyerid() == null : this.getBuyerid().equals(other.getBuyerid()))
            && (this.getBuyername() == null ? other.getBuyername() == null : this.getBuyername().equals(other.getBuyername()))
            && (this.getCountry() == null ? other.getCountry() == null : this.getCountry().equals(other.getCountry()))
            && (this.getAddress1() == null ? other.getAddress1() == null : this.getAddress1().equals(other.getAddress1()))
            && (this.getAddress2() == null ? other.getAddress2() == null : this.getAddress2().equals(other.getAddress2()))
            && (this.getCity() == null ? other.getCity() == null : this.getCity().equals(other.getCity()))
            && (this.getProvince() == null ? other.getProvince() == null : this.getProvince().equals(other.getProvince()))
            && (this.getPostcode() == null ? other.getPostcode() == null : this.getPostcode().equals(other.getPostcode()))
            && (this.getPhonenumber() == null ? other.getPhonenumber() == null : this.getPhonenumber().equals(other.getPhonenumber()))
            && (this.getMobilenumber() == null ? other.getMobilenumber() == null : this.getMobilenumber().equals(other.getMobilenumber()))
            && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
            && (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.getItemid() == null ? other.getItemid() == null : this.getItemid().equals(other.getItemid()))
            && (this.getFreight() == null ? other.getFreight() == null : this.getFreight().equals(other.getFreight()))
            && (this.getIssystemship() == null ? other.getIssystemship() == null : this.getIssystemship().equals(other.getIssystemship()))
            && (this.getOmsupdatetime() == null ? other.getOmsupdatetime() == null : this.getOmsupdatetime().equals(other.getOmsupdatetime()))
            && (this.getOmscreatetime() == null ? other.getOmscreatetime() == null : this.getOmscreatetime().equals(other.getOmscreatetime()))
            && (this.getMatchtime() == null ? other.getMatchtime() == null : this.getMatchtime().equals(other.getMatchtime()))
            && (this.getOriginalcurrency() == null ? other.getOriginalcurrency() == null : this.getOriginalcurrency().equals(other.getOriginalcurrency()))
            && (this.getOriginaltotal() == null ? other.getOriginaltotal() == null : this.getOriginaltotal().equals(other.getOriginaltotal()))
            && (this.getIsrefund() == null ? other.getIsrefund() == null : this.getIsrefund().equals(other.getIsrefund()))
            && (this.getBjpaytime() == null ? other.getBjpaytime() == null : this.getBjpaytime().equals(other.getBjpaytime()))
            && (this.getInterceptstatus() == null ? other.getInterceptstatus() == null : this.getInterceptstatus().equals(other.getInterceptstatus()))
            && (this.getTs() == null ? other.getTs() == null : this.getTs().equals(other.getTs()))
            && (this.getIsAbroad() == null ? other.getIsAbroad() == null : this.getIsAbroad().equals(other.getIsAbroad()))
            && (this.getCountryEnName() == null ? other.getCountryEnName() == null : this.getCountryEnName().equals(other.getCountryEnName()))
            && (this.getOrderSystem() == null ? other.getOrderSystem() == null : this.getOrderSystem().equals(other.getOrderSystem()))
            && (this.getSkuinfo() == null ? other.getSkuinfo() == null : this.getSkuinfo().equals(other.getSkuinfo()))
            && (this.getEbaytransactionid() == null ? other.getEbaytransactionid() == null : this.getEbaytransactionid().equals(other.getEbaytransactionid()))
            && (this.getPlatformnosources() == null ? other.getPlatformnosources() == null : this.getPlatformnosources().equals(other.getPlatformnosources()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getPaytime() == null) ? 0 : getPaytime().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 + ((getOrderstatus() == null) ? 0 : getOrderstatus().hashCode());
        result = prime * result + ((getOrdersite() == null) ? 0 : getOrdersite().hashCode());
        result = prime * result + ((getSellaccount() == null) ? 0 : getSellaccount().hashCode());
        result = prime * result + ((getOrderamount() == null) ? 0 : getOrderamount().hashCode());
        result = prime * result + ((getShipwarehouse() == null) ? 0 : getShipwarehouse().hashCode());
        result = prime * result + ((getProducttitle() == null) ? 0 : getProducttitle().hashCode());
        result = prime * result + ((getOrdertime() == null) ? 0 : getOrdertime().hashCode());
        result = prime * result + ((getPaypalinaccount() == null) ? 0 : getPaypalinaccount().hashCode());
        result = prime * result + ((getPaypaloutaccount() == null) ? 0 : getPaypaloutaccount().hashCode());
        result = prime * result + ((getBuyerid() == null) ? 0 : getBuyerid().hashCode());
        result = prime * result + ((getBuyername() == null) ? 0 : getBuyername().hashCode());
        result = prime * result + ((getCountry() == null) ? 0 : getCountry().hashCode());
        result = prime * result + ((getAddress1() == null) ? 0 : getAddress1().hashCode());
        result = prime * result + ((getAddress2() == null) ? 0 : getAddress2().hashCode());
        result = prime * result + ((getCity() == null) ? 0 : getCity().hashCode());
        result = prime * result + ((getProvince() == null) ? 0 : getProvince().hashCode());
        result = prime * result + ((getPostcode() == null) ? 0 : getPostcode().hashCode());
        result = prime * result + ((getPhonenumber() == null) ? 0 : getPhonenumber().hashCode());
        result = prime * result + ((getMobilenumber() == null) ? 0 : getMobilenumber().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().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 + ((getItemid() == null) ? 0 : getItemid().hashCode());
        result = prime * result + ((getFreight() == null) ? 0 : getFreight().hashCode());
        result = prime * result + ((getIssystemship() == null) ? 0 : getIssystemship().hashCode());
        result = prime * result + ((getOmsupdatetime() == null) ? 0 : getOmsupdatetime().hashCode());
        result = prime * result + ((getOmscreatetime() == null) ? 0 : getOmscreatetime().hashCode());
        result = prime * result + ((getMatchtime() == null) ? 0 : getMatchtime().hashCode());
        result = prime * result + ((getOriginalcurrency() == null) ? 0 : getOriginalcurrency().hashCode());
        result = prime * result + ((getOriginaltotal() == null) ? 0 : getOriginaltotal().hashCode());
        result = prime * result + ((getIsrefund() == null) ? 0 : getIsrefund().hashCode());
        result = prime * result + ((getBjpaytime() == null) ? 0 : getBjpaytime().hashCode());
        result = prime * result + ((getInterceptstatus() == null) ? 0 : getInterceptstatus().hashCode());
        result = prime * result + ((getTs() == null) ? 0 : getTs().hashCode());
        result = prime * result + ((getIsAbroad() == null) ? 0 : getIsAbroad().hashCode());
        result = prime * result + ((getCountryEnName() == null) ? 0 : getCountryEnName().hashCode());
        result = prime * result + ((getOrderSystem() == null) ? 0 : getOrderSystem().hashCode());
        result = prime * result + ((getSkuinfo() == null) ? 0 : getSkuinfo().hashCode());
        result = prime * result + ((getEbaytransactionid() == null) ? 0 : getEbaytransactionid().hashCode());
        result = prime * result + ((getPlatformnosources() == null) ? 0 : getPlatformnosources().hashCode());
        return result;
    }
}