/**
 * ResImpModel.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.mmr.xyj.ws.service.model.ngModel;

import java.util.Map;

import com.baosight.iplat4j.util.DateUtils;
import com.baosight.iplat4j.util.NumberUtils;
import com.baosight.iplat4j.util.StringUtils;

public class ResImpModel  implements java.io.Serializable {
    private java.lang.String autoAcceptPrice="";

    private java.lang.String autoRejectPrice="";

    private java.lang.String customerOwnerId="";

    private java.lang.String directCustomer="";

    private java.lang.String factory="";

    private java.lang.String factoryDate="";

    private java.lang.String factoryProductId="";

    private java.lang.String goodNum="";

    private java.lang.String ifDiscuss="";

    private java.lang.String ifDissent="";

    private java.lang.String packLocation="";

    private java.lang.String packNum="";

    private java.lang.String prodTypeName="";

    private java.lang.String publishFlag="";

    private java.lang.String publishPrice="";

    private java.lang.String publishType="";

    private java.lang.String putinDate="";

    private java.lang.String qty="";

    private java.lang.String qtyUnit="";

    private java.lang.String remark="";

    private java.lang.String ret1="";

    private java.lang.String ret10="";

    private java.lang.String ret2="";

    private java.lang.String ret3="";

    private java.lang.String ret4="";

    private java.lang.String ret5="";

    private java.lang.String ret6="";

    private java.lang.String ret7="";

    private java.lang.String ret8="";

    private java.lang.String ret9="";

    private java.lang.String shopsign="";

    private java.lang.String spec="";

    private java.lang.String warehouse="";

    private java.lang.String weight="";

    private java.lang.String weightUnit="";

    public ResImpModel() {
    }
    
    public ResImpModel(
           java.lang.String autoAcceptPrice,
           java.lang.String autoRejectPrice,
           java.lang.String customerOwnerId,
           java.lang.String directCustomer,
           java.lang.String factory,
           java.lang.String factoryDate,
           java.lang.String factoryProductId,
           java.lang.String goodNum,
           java.lang.String ifDiscuss,
           java.lang.String ifDissent,
           java.lang.String packLocation,
           java.lang.String packNum,
           java.lang.String prodTypeName,
           java.lang.String publishFlag,
           java.lang.String publishPrice,
           java.lang.String publishType,
           java.lang.String putinDate,
           java.lang.String qty,
           java.lang.String qtyUnit,
           java.lang.String remark,
           java.lang.String ret1,
           java.lang.String ret10,
           java.lang.String ret2,
           java.lang.String ret3,
           java.lang.String ret4,
           java.lang.String ret5,
           java.lang.String ret6,
           java.lang.String ret7,
           java.lang.String ret8,
           java.lang.String ret9,
           java.lang.String shopsign,
           java.lang.String spec,
           java.lang.String warehouse,
           java.lang.String weight,
           java.lang.String weightUnit) {
           this.autoAcceptPrice = autoAcceptPrice;
           this.autoRejectPrice = autoRejectPrice;
           this.customerOwnerId = customerOwnerId;
           this.directCustomer = directCustomer;
           this.factory = factory;
           this.factoryDate = factoryDate;
           this.factoryProductId = factoryProductId;
           this.goodNum = goodNum;
           this.ifDiscuss = ifDiscuss;
           this.ifDissent = ifDissent;
           this.packLocation = packLocation;
           this.packNum = packNum;
           this.prodTypeName = prodTypeName;
           this.publishFlag = publishFlag;
           this.publishPrice = publishPrice;
           this.publishType = publishType;
           this.putinDate = putinDate;
           this.qty = qty;
           this.qtyUnit = qtyUnit;
           this.remark = remark;
           this.ret1 = ret1;
           this.ret10 = ret10;
           this.ret2 = ret2;
           this.ret3 = ret3;
           this.ret4 = ret4;
           this.ret5 = ret5;
           this.ret6 = ret6;
           this.ret7 = ret7;
           this.ret8 = ret8;
           this.ret9 = ret9;
           this.shopsign = shopsign;
           this.spec = spec;
           this.warehouse = warehouse;
           this.weight = weight;
           this.weightUnit = weightUnit;
    }

    public void fromMap(Map map){
    	setAutoAcceptPrice(StringUtils.defaultIfEmpty(((String)map.get("autoAcceptPrice")),autoAcceptPrice));
    	setAutoRejectPrice(StringUtils.defaultIfEmpty(((String)map.get("autoRejectPrice")),autoRejectPrice));
    	setCustomerOwnerId(StringUtils.defaultIfEmpty(((String)map.get("customerOwnerId")),customerOwnerId));
    	setDirectCustomer(StringUtils.defaultIfEmpty(((String)map.get("directCustomer")),directCustomer));
    	setFactory(StringUtils.defaultIfEmpty(((String)map.get("factory")),factory));
    	setFactoryDate(StringUtils.defaultIfEmpty(((String)map.get("factoryDate")),factoryDate));
    	setFactoryProductId(StringUtils.defaultIfEmpty(((String)map.get("factoryProductId")),factoryProductId));
    	setGoodNum(StringUtils.defaultIfEmpty(((String)map.get("goodNum")),goodNum));
    	setIfDiscuss(StringUtils.defaultIfEmpty(((String)map.get("ifDiscuss")),ifDiscuss));
    	setIfDissent(StringUtils.defaultIfEmpty(((String)map.get("ifDissent")),ifDissent));
    	setPackLocation(StringUtils.defaultIfEmpty(((String)map.get("packLocation")),packLocation));
    	setPackNum(StringUtils.defaultIfEmpty(((String)map.get("packNum")),packNum));
    	setProdTypeName(StringUtils.defaultIfEmpty(((String)map.get("prodTypeName")),prodTypeName));
    	setPublishFlag(StringUtils.defaultIfEmpty(((String)map.get("publishFlag")),publishFlag));
    	setPublishPrice(StringUtils.defaultIfEmpty(((String)map.get("publicPrice")),publishPrice));
    	setPublishType(StringUtils.defaultIfEmpty(((String)map.get("publishType")),publishType));
    	setPutinDate(StringUtils.defaultIfEmpty(((String)map.get("putinDate")),putinDate));
    	setQty(StringUtils.defaultIfEmpty(((String)map.get("qty")),qty));
    	setQtyUnit(StringUtils.defaultIfEmpty(((String)map.get("qtyUnit")),qtyUnit));
    	setRemark(StringUtils.defaultIfEmpty(((String)map.get("remark")),remark));
    	setRet1(StringUtils.defaultIfEmpty(((String)map.get("ret1")),ret1));
    	setRet2(StringUtils.defaultIfEmpty(((String)map.get("ret2")),ret2));
    	setRet3(StringUtils.defaultIfEmpty(((String)map.get("ret3")),ret3));
    	setRet4(StringUtils.defaultIfEmpty(((String)map.get("ret4")),ret4));
    	setRet5(StringUtils.defaultIfEmpty(((String)map.get("ret5")),ret5));
    	setRet6(StringUtils.defaultIfEmpty(((String)map.get("ret6")),ret6));
    	setRet7(StringUtils.defaultIfEmpty(((String)map.get("ret7")),ret7));
    	setRet8(StringUtils.defaultIfEmpty(((String)map.get("ret8")),ret8));
    	setRet9(StringUtils.defaultIfEmpty(((String)map.get("ret9")),ret9));
    	setRet10(StringUtils.defaultIfEmpty(((String)map.get("ret10")),ret10));
    	setShopsign(StringUtils.defaultIfEmpty(((String)map.get("shopsign")),shopsign));
    	setSpec(StringUtils.defaultIfEmpty(((String)map.get("spec")),spec));
    	setWarehouse(StringUtils.defaultIfEmpty(((String)map.get("warehouse")),warehouse));
    	setWeight(StringUtils.defaultIfEmpty(((String)map.get("weight")),weight));
    	setWeightUnit(StringUtils.defaultIfEmpty(((String)map.get("weightUnit")),weightUnit));
    }
    
    
    
    /**
     * Gets the autoAcceptPrice value for this ResImpModel.
     * 
     * @return autoAcceptPrice
     */
    public java.lang.String getAutoAcceptPrice() {
        return autoAcceptPrice;
    }


    /**
     * Sets the autoAcceptPrice value for this ResImpModel.
     * 
     * @param autoAcceptPrice
     */
    public void setAutoAcceptPrice(java.lang.String autoAcceptPrice) {
        this.autoAcceptPrice = autoAcceptPrice;
    }


    /**
     * Gets the autoRejectPrice value for this ResImpModel.
     * 
     * @return autoRejectPrice
     */
    public java.lang.String getAutoRejectPrice() {
        return autoRejectPrice;
    }


    /**
     * Sets the autoRejectPrice value for this ResImpModel.
     * 
     * @param autoRejectPrice
     */
    public void setAutoRejectPrice(java.lang.String autoRejectPrice) {
        this.autoRejectPrice = autoRejectPrice;
    }


    /**
     * Gets the customerOwnerId value for this ResImpModel.
     * 
     * @return customerOwnerId
     */
    public java.lang.String getCustomerOwnerId() {
        return customerOwnerId;
    }


    /**
     * Sets the customerOwnerId value for this ResImpModel.
     * 
     * @param customerOwnerId
     */
    public void setCustomerOwnerId(java.lang.String customerOwnerId) {
        this.customerOwnerId = customerOwnerId;
    }


    /**
     * Gets the directCustomer value for this ResImpModel.
     * 
     * @return directCustomer
     */
    public java.lang.String getDirectCustomer() {
        return directCustomer;
    }


    /**
     * Sets the directCustomer value for this ResImpModel.
     * 
     * @param directCustomer
     */
    public void setDirectCustomer(java.lang.String directCustomer) {
        this.directCustomer = directCustomer;
    }


    /**
     * Gets the factory value for this ResImpModel.
     * 
     * @return factory
     */
    public java.lang.String getFactory() {
        return factory;
    }


    /**
     * Sets the factory value for this ResImpModel.
     * 
     * @param factory
     */
    public void setFactory(java.lang.String factory) {
        this.factory = factory;
    }


    /**
     * Gets the factoryDate value for this ResImpModel.
     * 
     * @return factoryDate
     */
    public java.lang.String getFactoryDate() {
        return factoryDate;
    }


    /**
     * Sets the factoryDate value for this ResImpModel.
     * 
     * @param factoryDate
     */
    public void setFactoryDate(java.lang.String factoryDate) {
        this.factoryDate = factoryDate;
    }


    /**
     * Gets the factoryProductId value for this ResImpModel.
     * 
     * @return factoryProductId
     */
    public java.lang.String getFactoryProductId() {
        return factoryProductId;
    }


    /**
     * Sets the factoryProductId value for this ResImpModel.
     * 
     * @param factoryProductId
     */
    public void setFactoryProductId(java.lang.String factoryProductId) {
        this.factoryProductId = factoryProductId;
    }


    /**
     * Gets the goodNum value for this ResImpModel.
     * 
     * @return goodNum
     */
    public java.lang.String getGoodNum() {
        return goodNum;
    }


    /**
     * Sets the goodNum value for this ResImpModel.
     * 
     * @param goodNum
     */
    public void setGoodNum(java.lang.String goodNum) {
        this.goodNum = goodNum;
    }


    /**
     * Gets the ifDiscuss value for this ResImpModel.
     * 
     * @return ifDiscuss
     */
    public java.lang.String getIfDiscuss() {
        return ifDiscuss;
    }


    /**
     * Sets the ifDiscuss value for this ResImpModel.
     * 
     * @param ifDiscuss
     */
    public void setIfDiscuss(java.lang.String ifDiscuss) {
        this.ifDiscuss = ifDiscuss;
    }


    /**
     * Gets the ifDissent value for this ResImpModel.
     * 
     * @return ifDissent
     */
    public java.lang.String getIfDissent() {
        return ifDissent;
    }


    /**
     * Sets the ifDissent value for this ResImpModel.
     * 
     * @param ifDissent
     */
    public void setIfDissent(java.lang.String ifDissent) {
        this.ifDissent = ifDissent;
    }


    /**
     * Gets the packLocation value for this ResImpModel.
     * 
     * @return packLocation
     */
    public java.lang.String getPackLocation() {
        return packLocation;
    }


    /**
     * Sets the packLocation value for this ResImpModel.
     * 
     * @param packLocation
     */
    public void setPackLocation(java.lang.String packLocation) {
        this.packLocation = packLocation;
    }


    /**
     * Gets the packNum value for this ResImpModel.
     * 
     * @return packNum
     */
    public java.lang.String getPackNum() {
        return packNum;
    }


    /**
     * Sets the packNum value for this ResImpModel.
     * 
     * @param packNum
     */
    public void setPackNum(java.lang.String packNum) {
        this.packNum = packNum;
    }


    /**
     * Gets the prodTypeName value for this ResImpModel.
     * 
     * @return prodTypeName
     */
    public java.lang.String getProdTypeName() {
        return prodTypeName;
    }


    /**
     * Sets the prodTypeName value for this ResImpModel.
     * 
     * @param prodTypeName
     */
    public void setProdTypeName(java.lang.String prodTypeName) {
        this.prodTypeName = prodTypeName;
    }


    /**
     * Gets the publishFlag value for this ResImpModel.
     * 
     * @return publishFlag
     */
    public java.lang.String getPublishFlag() {
        return publishFlag;
    }


    /**
     * Sets the publishFlag value for this ResImpModel.
     * 
     * @param publishFlag
     */
    public void setPublishFlag(java.lang.String publishFlag) {
        this.publishFlag = publishFlag;
    }


    /**
     * Gets the publishPrice value for this ResImpModel.
     * 
     * @return publishPrice
     */
    public java.lang.String getPublishPrice() {
        return publishPrice;
    }


    /**
     * Sets the publishPrice value for this ResImpModel.
     * 
     * @param publishPrice
     */
    public void setPublishPrice(java.lang.String publishPrice) {
        this.publishPrice = publishPrice;
    }


    /**
     * Gets the publishType value for this ResImpModel.
     * 
     * @return publishType
     */
    public java.lang.String getPublishType() {
        return publishType;
    }


    /**
     * Sets the publishType value for this ResImpModel.
     * 
     * @param publishType
     */
    public void setPublishType(java.lang.String publishType) {
        this.publishType = publishType;
    }


    /**
     * Gets the putinDate value for this ResImpModel.
     * 
     * @return putinDate
     */
    public java.lang.String getPutinDate() {
        return putinDate;
    }


    /**
     * Sets the putinDate value for this ResImpModel.
     * 
     * @param putinDate
     */
    public void setPutinDate(java.lang.String putinDate) {
        this.putinDate = putinDate;
    }


    /**
     * Gets the qty value for this ResImpModel.
     * 
     * @return qty
     */
    public java.lang.String getQty() {
        return qty;
    }


    /**
     * Sets the qty value for this ResImpModel.
     * 
     * @param qty
     */
    public void setQty(java.lang.String qty) {
        this.qty = qty;
    }


    /**
     * Gets the qtyUnit value for this ResImpModel.
     * 
     * @return qtyUnit
     */
    public java.lang.String getQtyUnit() {
        return qtyUnit;
    }


    /**
     * Sets the qtyUnit value for this ResImpModel.
     * 
     * @param qtyUnit
     */
    public void setQtyUnit(java.lang.String qtyUnit) {
        this.qtyUnit = qtyUnit;
    }


    /**
     * Gets the remark value for this ResImpModel.
     * 
     * @return remark
     */
    public java.lang.String getRemark() {
        return remark;
    }


    /**
     * Sets the remark value for this ResImpModel.
     * 
     * @param remark
     */
    public void setRemark(java.lang.String remark) {
        this.remark = remark;
    }


    /**
     * Gets the ret1 value for this ResImpModel.
     * 
     * @return ret1
     */
    public java.lang.String getRet1() {
        return ret1;
    }


    /**
     * Sets the ret1 value for this ResImpModel.
     * 
     * @param ret1
     */
    public void setRet1(java.lang.String ret1) {
        this.ret1 = ret1;
    }


    /**
     * Gets the ret10 value for this ResImpModel.
     * 
     * @return ret10
     */
    public java.lang.String getRet10() {
        return ret10;
    }


    /**
     * Sets the ret10 value for this ResImpModel.
     * 
     * @param ret10
     */
    public void setRet10(java.lang.String ret10) {
        this.ret10 = ret10;
    }


    /**
     * Gets the ret2 value for this ResImpModel.
     * 
     * @return ret2
     */
    public java.lang.String getRet2() {
        return ret2;
    }


    /**
     * Sets the ret2 value for this ResImpModel.
     * 
     * @param ret2
     */
    public void setRet2(java.lang.String ret2) {
        this.ret2 = ret2;
    }


    /**
     * Gets the ret3 value for this ResImpModel.
     * 
     * @return ret3
     */
    public java.lang.String getRet3() {
        return ret3;
    }


    /**
     * Sets the ret3 value for this ResImpModel.
     * 
     * @param ret3
     */
    public void setRet3(java.lang.String ret3) {
        this.ret3 = ret3;
    }


    /**
     * Gets the ret4 value for this ResImpModel.
     * 
     * @return ret4
     */
    public java.lang.String getRet4() {
        return ret4;
    }


    /**
     * Sets the ret4 value for this ResImpModel.
     * 
     * @param ret4
     */
    public void setRet4(java.lang.String ret4) {
        this.ret4 = ret4;
    }


    /**
     * Gets the ret5 value for this ResImpModel.
     * 
     * @return ret5
     */
    public java.lang.String getRet5() {
        return ret5;
    }


    /**
     * Sets the ret5 value for this ResImpModel.
     * 
     * @param ret5
     */
    public void setRet5(java.lang.String ret5) {
        this.ret5 = ret5;
    }


    /**
     * Gets the ret6 value for this ResImpModel.
     * 
     * @return ret6
     */
    public java.lang.String getRet6() {
        return ret6;
    }


    /**
     * Sets the ret6 value for this ResImpModel.
     * 
     * @param ret6
     */
    public void setRet6(java.lang.String ret6) {
        this.ret6 = ret6;
    }


    /**
     * Gets the ret7 value for this ResImpModel.
     * 
     * @return ret7
     */
    public java.lang.String getRet7() {
        return ret7;
    }


    /**
     * Sets the ret7 value for this ResImpModel.
     * 
     * @param ret7
     */
    public void setRet7(java.lang.String ret7) {
        this.ret7 = ret7;
    }


    /**
     * Gets the ret8 value for this ResImpModel.
     * 
     * @return ret8
     */
    public java.lang.String getRet8() {
        return ret8;
    }


    /**
     * Sets the ret8 value for this ResImpModel.
     * 
     * @param ret8
     */
    public void setRet8(java.lang.String ret8) {
        this.ret8 = ret8;
    }


    /**
     * Gets the ret9 value for this ResImpModel.
     * 
     * @return ret9
     */
    public java.lang.String getRet9() {
        return ret9;
    }


    /**
     * Sets the ret9 value for this ResImpModel.
     * 
     * @param ret9
     */
    public void setRet9(java.lang.String ret9) {
        this.ret9 = ret9;
    }


    /**
     * Gets the shopsign value for this ResImpModel.
     * 
     * @return shopsign
     */
    public java.lang.String getShopsign() {
        return shopsign;
    }


    /**
     * Sets the shopsign value for this ResImpModel.
     * 
     * @param shopsign
     */
    public void setShopsign(java.lang.String shopsign) {
        this.shopsign = shopsign;
    }


    /**
     * Gets the spec value for this ResImpModel.
     * 
     * @return spec
     */
    public java.lang.String getSpec() {
        return spec;
    }


    /**
     * Sets the spec value for this ResImpModel.
     * 
     * @param spec
     */
    public void setSpec(java.lang.String spec) {
        this.spec = spec;
    }


    /**
     * Gets the warehouse value for this ResImpModel.
     * 
     * @return warehouse
     */
    public java.lang.String getWarehouse() {
        return warehouse;
    }


    /**
     * Sets the warehouse value for this ResImpModel.
     * 
     * @param warehouse
     */
    public void setWarehouse(java.lang.String warehouse) {
        this.warehouse = warehouse;
    }


    /**
     * Gets the weight value for this ResImpModel.
     * 
     * @return weight
     */
    public java.lang.String getWeight() {
        return weight;
    }


    /**
     * Sets the weight value for this ResImpModel.
     * 
     * @param weight
     */
    public void setWeight(java.lang.String weight) {
        this.weight = weight;
    }


    /**
     * Gets the weightUnit value for this ResImpModel.
     * 
     * @return weightUnit
     */
    public java.lang.String getWeightUnit() {
        return weightUnit;
    }


    /**
     * Sets the weightUnit value for this ResImpModel.
     * 
     * @param weightUnit
     */
    public void setWeightUnit(java.lang.String weightUnit) {
        this.weightUnit = weightUnit;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof ResImpModel)) return false;
        ResImpModel other = (ResImpModel) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.autoAcceptPrice==null && other.getAutoAcceptPrice()==null) || 
             (this.autoAcceptPrice!=null &&
              this.autoAcceptPrice.equals(other.getAutoAcceptPrice()))) &&
            ((this.autoRejectPrice==null && other.getAutoRejectPrice()==null) || 
             (this.autoRejectPrice!=null &&
              this.autoRejectPrice.equals(other.getAutoRejectPrice()))) &&
            ((this.customerOwnerId==null && other.getCustomerOwnerId()==null) || 
             (this.customerOwnerId!=null &&
              this.customerOwnerId.equals(other.getCustomerOwnerId()))) &&
            ((this.directCustomer==null && other.getDirectCustomer()==null) || 
             (this.directCustomer!=null &&
              this.directCustomer.equals(other.getDirectCustomer()))) &&
            ((this.factory==null && other.getFactory()==null) || 
             (this.factory!=null &&
              this.factory.equals(other.getFactory()))) &&
            ((this.factoryDate==null && other.getFactoryDate()==null) || 
             (this.factoryDate!=null &&
              this.factoryDate.equals(other.getFactoryDate()))) &&
            ((this.factoryProductId==null && other.getFactoryProductId()==null) || 
             (this.factoryProductId!=null &&
              this.factoryProductId.equals(other.getFactoryProductId()))) &&
            ((this.goodNum==null && other.getGoodNum()==null) || 
             (this.goodNum!=null &&
              this.goodNum.equals(other.getGoodNum()))) &&
            ((this.ifDiscuss==null && other.getIfDiscuss()==null) || 
             (this.ifDiscuss!=null &&
              this.ifDiscuss.equals(other.getIfDiscuss()))) &&
            ((this.ifDissent==null && other.getIfDissent()==null) || 
             (this.ifDissent!=null &&
              this.ifDissent.equals(other.getIfDissent()))) &&
            ((this.packLocation==null && other.getPackLocation()==null) || 
             (this.packLocation!=null &&
              this.packLocation.equals(other.getPackLocation()))) &&
            ((this.packNum==null && other.getPackNum()==null) || 
             (this.packNum!=null &&
              this.packNum.equals(other.getPackNum()))) &&
            ((this.prodTypeName==null && other.getProdTypeName()==null) || 
             (this.prodTypeName!=null &&
              this.prodTypeName.equals(other.getProdTypeName()))) &&
            ((this.publishFlag==null && other.getPublishFlag()==null) || 
             (this.publishFlag!=null &&
              this.publishFlag.equals(other.getPublishFlag()))) &&
            ((this.publishPrice==null && other.getPublishPrice()==null) || 
             (this.publishPrice!=null &&
              this.publishPrice.equals(other.getPublishPrice()))) &&
            ((this.publishType==null && other.getPublishType()==null) || 
             (this.publishType!=null &&
              this.publishType.equals(other.getPublishType()))) &&
            ((this.putinDate==null && other.getPutinDate()==null) || 
             (this.putinDate!=null &&
              this.putinDate.equals(other.getPutinDate()))) &&
            ((this.qty==null && other.getQty()==null) || 
             (this.qty!=null &&
              this.qty.equals(other.getQty()))) &&
            ((this.qtyUnit==null && other.getQtyUnit()==null) || 
             (this.qtyUnit!=null &&
              this.qtyUnit.equals(other.getQtyUnit()))) &&
            ((this.remark==null && other.getRemark()==null) || 
             (this.remark!=null &&
              this.remark.equals(other.getRemark()))) &&
            ((this.ret1==null && other.getRet1()==null) || 
             (this.ret1!=null &&
              this.ret1.equals(other.getRet1()))) &&
            ((this.ret10==null && other.getRet10()==null) || 
             (this.ret10!=null &&
              this.ret10.equals(other.getRet10()))) &&
            ((this.ret2==null && other.getRet2()==null) || 
             (this.ret2!=null &&
              this.ret2.equals(other.getRet2()))) &&
            ((this.ret3==null && other.getRet3()==null) || 
             (this.ret3!=null &&
              this.ret3.equals(other.getRet3()))) &&
            ((this.ret4==null && other.getRet4()==null) || 
             (this.ret4!=null &&
              this.ret4.equals(other.getRet4()))) &&
            ((this.ret5==null && other.getRet5()==null) || 
             (this.ret5!=null &&
              this.ret5.equals(other.getRet5()))) &&
            ((this.ret6==null && other.getRet6()==null) || 
             (this.ret6!=null &&
              this.ret6.equals(other.getRet6()))) &&
            ((this.ret7==null && other.getRet7()==null) || 
             (this.ret7!=null &&
              this.ret7.equals(other.getRet7()))) &&
            ((this.ret8==null && other.getRet8()==null) || 
             (this.ret8!=null &&
              this.ret8.equals(other.getRet8()))) &&
            ((this.ret9==null && other.getRet9()==null) || 
             (this.ret9!=null &&
              this.ret9.equals(other.getRet9()))) &&
            ((this.shopsign==null && other.getShopsign()==null) || 
             (this.shopsign!=null &&
              this.shopsign.equals(other.getShopsign()))) &&
            ((this.spec==null && other.getSpec()==null) || 
             (this.spec!=null &&
              this.spec.equals(other.getSpec()))) &&
            ((this.warehouse==null && other.getWarehouse()==null) || 
             (this.warehouse!=null &&
              this.warehouse.equals(other.getWarehouse()))) &&
            ((this.weight==null && other.getWeight()==null) || 
             (this.weight!=null &&
              this.weight.equals(other.getWeight()))) &&
            ((this.weightUnit==null && other.getWeightUnit()==null) || 
             (this.weightUnit!=null &&
              this.weightUnit.equals(other.getWeightUnit())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getAutoAcceptPrice() != null) {
            _hashCode += getAutoAcceptPrice().hashCode();
        }
        if (getAutoRejectPrice() != null) {
            _hashCode += getAutoRejectPrice().hashCode();
        }
        if (getCustomerOwnerId() != null) {
            _hashCode += getCustomerOwnerId().hashCode();
        }
        if (getDirectCustomer() != null) {
            _hashCode += getDirectCustomer().hashCode();
        }
        if (getFactory() != null) {
            _hashCode += getFactory().hashCode();
        }
        if (getFactoryDate() != null) {
            _hashCode += getFactoryDate().hashCode();
        }
        if (getFactoryProductId() != null) {
            _hashCode += getFactoryProductId().hashCode();
        }
        if (getGoodNum() != null) {
            _hashCode += getGoodNum().hashCode();
        }
        if (getIfDiscuss() != null) {
            _hashCode += getIfDiscuss().hashCode();
        }
        if (getIfDissent() != null) {
            _hashCode += getIfDissent().hashCode();
        }
        if (getPackLocation() != null) {
            _hashCode += getPackLocation().hashCode();
        }
        if (getPackNum() != null) {
            _hashCode += getPackNum().hashCode();
        }
        if (getProdTypeName() != null) {
            _hashCode += getProdTypeName().hashCode();
        }
        if (getPublishFlag() != null) {
            _hashCode += getPublishFlag().hashCode();
        }
        if (getPublishPrice() != null) {
            _hashCode += getPublishPrice().hashCode();
        }
        if (getPublishType() != null) {
            _hashCode += getPublishType().hashCode();
        }
        if (getPutinDate() != null) {
            _hashCode += getPutinDate().hashCode();
        }
        if (getQty() != null) {
            _hashCode += getQty().hashCode();
        }
        if (getQtyUnit() != null) {
            _hashCode += getQtyUnit().hashCode();
        }
        if (getRemark() != null) {
            _hashCode += getRemark().hashCode();
        }
        if (getRet1() != null) {
            _hashCode += getRet1().hashCode();
        }
        if (getRet10() != null) {
            _hashCode += getRet10().hashCode();
        }
        if (getRet2() != null) {
            _hashCode += getRet2().hashCode();
        }
        if (getRet3() != null) {
            _hashCode += getRet3().hashCode();
        }
        if (getRet4() != null) {
            _hashCode += getRet4().hashCode();
        }
        if (getRet5() != null) {
            _hashCode += getRet5().hashCode();
        }
        if (getRet6() != null) {
            _hashCode += getRet6().hashCode();
        }
        if (getRet7() != null) {
            _hashCode += getRet7().hashCode();
        }
        if (getRet8() != null) {
            _hashCode += getRet8().hashCode();
        }
        if (getRet9() != null) {
            _hashCode += getRet9().hashCode();
        }
        if (getShopsign() != null) {
            _hashCode += getShopsign().hashCode();
        }
        if (getSpec() != null) {
            _hashCode += getSpec().hashCode();
        }
        if (getWarehouse() != null) {
            _hashCode += getWarehouse().hashCode();
        }
        if (getWeight() != null) {
            _hashCode += getWeight().hashCode();
        }
        if (getWeightUnit() != null) {
            _hashCode += getWeightUnit().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(ResImpModel.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ResImpModel"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("autoAcceptPrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "autoAcceptPrice"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("autoRejectPrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "autoRejectPrice"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("customerOwnerId");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "customerOwnerId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("directCustomer");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "directCustomer"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("factory");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "factory"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("factoryDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "factoryDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("factoryProductId");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "factoryProductId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("goodNum");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "goodNum"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ifDiscuss");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ifDiscuss"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ifDissent");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ifDissent"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("packLocation");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "packLocation"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("packNum");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "packNum"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("prodTypeName");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "prodTypeName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("publishFlag");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "publishFlag"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("publishPrice");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "publishPrice"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("publishType");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "publishType"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("putinDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "putinDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("qty");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "qty"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("qtyUnit");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "qtyUnit"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("remark");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "remark"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret1");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret1"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret10");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret10"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret2");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret2"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret3");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret3"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret4");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret4"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret5");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret5"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret6");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret6"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret7");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret7"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret8");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret8"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ret9");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "ret9"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("shopsign");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "shopsign"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("spec");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "spec"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("warehouse");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "warehouse"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("weight");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "weight"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("weightUnit");
        elemField.setXmlName(new javax.xml.namespace.QName("http://ngModel.model.service.ws.xyj.mmr.com", "weightUnit"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
    }

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}
