/**
 * PortalCouponParams.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.shulead.datasync.portalcoupon;

public class PortalCouponParams implements java.io.Serializable {
    private String applicantCode;

    private String applicantName;

    private String brandId;

    private String discountAmt;

    private String mobile;

    private String orgCode;

    private String orgId;

    private String processCode;

    private String studentId;

    private String studentName;

    private String valueName;

    private String valueStr;

    private String classId;;      // 班型id  2019-12-16 add

    private String applicableNum;// 期数; 2019-12-16 add

	public String getClassId() {
		return classId;
	}

	public void setClassId(String classId) {
		this.classId = classId;
	}

	public String getApplicableNum() {
		return applicableNum;
	}

	public void setApplicableNum(String applicableNum) {
		this.applicableNum = applicableNum;
	}

    public PortalCouponParams() {
    }

    public PortalCouponParams(
           String applicantCode,
           String applicantName,
           String brandId,
           String discountAmt,
           String mobile,
           String orgCode,
           String orgId,
           String processCode,
           String studentId,
           String studentName,
           String valueName,
           String valueStr) {
           this.applicantCode = applicantCode;
           this.applicantName = applicantName;
           this.brandId = brandId;
           this.discountAmt = discountAmt;
           this.mobile = mobile;
           this.orgCode = orgCode;
           this.orgId = orgId;
           this.processCode = processCode;
           this.studentId = studentId;
           this.studentName = studentName;
           this.classId = classId;
           this.applicableNum = applicableNum;
    }


    /**
     * Gets the applicantCode value for this PortalCouponParams.
     *
     * @return applicantCode
     */
    public String getApplicantCode() {
        return applicantCode;
    }


    /**
     * Sets the applicantCode value for this PortalCouponParams.
     *
     * @param applicantCode
     */
    public void setApplicantCode(String applicantCode) {
        this.applicantCode = applicantCode;
    }


    /**
     * Gets the applicantName value for this PortalCouponParams.
     *
     * @return applicantName
     */
    public String getApplicantName() {
        return applicantName;
    }


    /**
     * Sets the applicantName value for this PortalCouponParams.
     *
     * @param applicantName
     */
    public void setApplicantName(String applicantName) {
        this.applicantName = applicantName;
    }


    /**
     * Gets the brandId value for this PortalCouponParams.
     *
     * @return brandId
     */
    public String getBrandId() {
        return brandId;
    }


    /**
     * Sets the brandId value for this PortalCouponParams.
     *
     * @param brandId
     */
    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }


    /**
     * Gets the discountAmt value for this PortalCouponParams.
     *
     * @return discountAmt
     */
    public String getDiscountAmt() {
        return discountAmt;
    }


    /**
     * Sets the discountAmt value for this PortalCouponParams.
     *
     * @param discountAmt
     */
    public void setDiscountAmt(String discountAmt) {
        this.discountAmt = discountAmt;
    }


    /**
     * Gets the mobile value for this PortalCouponParams.
     *
     * @return mobile
     */
    public String getMobile() {
        return mobile;
    }


    /**
     * Sets the mobile value for this PortalCouponParams.
     *
     * @param mobile
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }


    /**
     * Gets the orgCode value for this PortalCouponParams.
     *
     * @return orgCode
     */
    public String getOrgCode() {
        return orgCode;
    }


    /**
     * Sets the orgCode value for this PortalCouponParams.
     *
     * @param orgCode
     */
    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }


    /**
     * Gets the orgId value for this PortalCouponParams.
     *
     * @return orgId
     */
    public String getOrgId() {
        return orgId;
    }


    /**
     * Sets the orgId value for this PortalCouponParams.
     *
     * @param orgId
     */
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }


    /**
     * Gets the processCode value for this PortalCouponParams.
     *
     * @return processCode
     */
    public String getProcessCode() {
        return processCode;
    }


    /**
     * Sets the processCode value for this PortalCouponParams.
     *
     * @param processCode
     */
    public void setProcessCode(String processCode) {
        this.processCode = processCode;
    }


    /**
     * Gets the studentId value for this PortalCouponParams.
     *
     * @return studentId
     */
    public String getStudentId() {
        return studentId;
    }


    /**
     * Sets the studentId value for this PortalCouponParams.
     *
     * @param studentId
     */
    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }


    /**
     * Gets the studentName value for this PortalCouponParams.
     *
     * @return studentName
     */
    public String getStudentName() {
        return studentName;
    }


    /**
     * Sets the studentName value for this PortalCouponParams.
     *
     * @param studentName
     */
    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }


    /**
     * Gets the valueName value for this PortalCouponParams.
     *
     * @return valueName
     */
    public String getValueName() {
        return valueName;
    }


    /**
     * Sets the valueName value for this PortalCouponParams.
     *
     * @param valueName
     */
    public void setValueName(String valueName) {
        this.valueName = valueName;
    }


    /**
     * Gets the valueStr value for this PortalCouponParams.
     *
     * @return valueStr
     */
    public String getValueStr() {
        return valueStr;
    }


    /**
     * Sets the valueStr value for this PortalCouponParams.
     *
     * @param valueStr
     */
    public void setValueStr(String valueStr) {
        this.valueStr = valueStr;
    }

    private Object __equalsCalc = null;
    public synchronized boolean equals(Object obj) {
        if (!(obj instanceof PortalCouponParams)) return false;
        PortalCouponParams other = (PortalCouponParams) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true &&
            ((this.applicantCode==null && other.getApplicantCode()==null) ||
             (this.applicantCode!=null &&
              this.applicantCode.equals(other.getApplicantCode()))) &&
            ((this.applicantName==null && other.getApplicantName()==null) ||
             (this.applicantName!=null &&
              this.applicantName.equals(other.getApplicantName()))) &&
            ((this.brandId==null && other.getBrandId()==null) ||
             (this.brandId!=null &&
              this.brandId.equals(other.getBrandId()))) &&
            ((this.discountAmt==null && other.getDiscountAmt()==null) ||
             (this.discountAmt!=null &&
              this.discountAmt.equals(other.getDiscountAmt()))) &&
            ((this.mobile==null && other.getMobile()==null) ||
             (this.mobile!=null &&
              this.mobile.equals(other.getMobile()))) &&
            ((this.orgCode==null && other.getOrgCode()==null) ||
             (this.orgCode!=null &&
              this.orgCode.equals(other.getOrgCode()))) &&
            ((this.orgId==null && other.getOrgId()==null) ||
             (this.orgId!=null &&
              this.orgId.equals(other.getOrgId()))) &&
            ((this.processCode==null && other.getProcessCode()==null) ||
             (this.processCode!=null &&
              this.processCode.equals(other.getProcessCode()))) &&
            ((this.studentId==null && other.getStudentId()==null) ||
             (this.studentId!=null &&
              this.studentId.equals(other.getStudentId()))) &&
            ((this.studentName==null && other.getStudentName()==null) ||
             (this.studentName!=null &&
              this.studentName.equals(other.getStudentName()))) &&
            ((this.valueName==null && other.getValueName()==null) ||
             (this.valueName!=null &&
              this.valueName.equals(other.getValueName()))) &&
            ((this.valueStr==null && other.getValueStr()==null) ||
             (this.valueStr!=null &&
              this.valueStr.equals(other.getValueStr())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getApplicantCode() != null) {
            _hashCode += getApplicantCode().hashCode();
        }
        if (getApplicantName() != null) {
            _hashCode += getApplicantName().hashCode();
        }
        if (getBrandId() != null) {
            _hashCode += getBrandId().hashCode();
        }
        if (getDiscountAmt() != null) {
            _hashCode += getDiscountAmt().hashCode();
        }
        if (getMobile() != null) {
            _hashCode += getMobile().hashCode();
        }
        if (getOrgCode() != null) {
            _hashCode += getOrgCode().hashCode();
        }
        if (getOrgId() != null) {
            _hashCode += getOrgId().hashCode();
        }
        if (getProcessCode() != null) {
            _hashCode += getProcessCode().hashCode();
        }
        if (getStudentId() != null) {
            _hashCode += getStudentId().hashCode();
        }
        if (getStudentName() != null) {
            _hashCode += getStudentName().hashCode();
        }
        if (getValueName() != null) {
            _hashCode += getValueName().hashCode();
        }
        if (getValueStr() != null) {
            _hashCode += getValueStr().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://webservice.sales.cos.rise.com/", "portalCouponParams"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("applicantCode");
        elemField.setXmlName(new javax.xml.namespace.QName("", "applicantCode"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("applicantName");
        elemField.setXmlName(new javax.xml.namespace.QName("", "applicantName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("brandId");
        elemField.setXmlName(new javax.xml.namespace.QName("", "brandId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("discountAmt");
        elemField.setXmlName(new javax.xml.namespace.QName("", "discountAmt"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("mobile");
        elemField.setXmlName(new javax.xml.namespace.QName("", "mobile"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("orgCode");
        elemField.setXmlName(new javax.xml.namespace.QName("", "orgCode"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("orgId");
        elemField.setXmlName(new javax.xml.namespace.QName("", "orgId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("processCode");
        elemField.setXmlName(new javax.xml.namespace.QName("", "processCode"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("studentId");
        elemField.setXmlName(new javax.xml.namespace.QName("", "studentId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("studentName");
        elemField.setXmlName(new javax.xml.namespace.QName("", "studentName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("valueName");
        elemField.setXmlName(new javax.xml.namespace.QName("", "valueName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("valueStr");
        elemField.setXmlName(new javax.xml.namespace.QName("", "valueStr"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        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(
           String mechType,
           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(
           String mechType,
           Class _javaType,
           javax.xml.namespace.QName _xmlType) {
        return
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}
