@Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof ItemReturn)) {
            return false;
        }
        ItemReturn other = (ItemReturn) object;
        if ((this.itemReturnPK == null && other.itemReturnPK != null) || (this.itemReturnPK != null && !this.itemReturnPK.equals(other.itemReturnPK))) {
            return false;
        }
        return true;
    }