@Override
    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;

        AllTypeObj obj = (AllTypeObj) o;

        if (i != obj.i)
            return false;
        if (b != obj.b)
            return false;
        if (s != obj.s)
            return false;
        if (l != obj.l)
            return false;
        if (z != obj.z)
            return false;
        if (c != obj.c)
            return false;
        if (Double.compare(obj.d, d) != 0)
            return false;
        if (Float.compare(obj.f, f) != 0)
            return false;
        if (Float.compare(obj.f1, f1) != 0)
            return false;
        if (i1 != null ? !i1.equals(obj.i1) : obj.i1 != null)
            return false;
        if (b1 != null ? !b1.equals(obj.b1) : obj.b1 != null)
            return false;
        if (s1 != null ? !s1.equals(obj.s1) : obj.s1 != null)
            return false;
        if (L1 != null ? !L1.equals(obj.L1) : obj.L1 != null)
            return false;
        if (c1 != null ? !c1.equals(obj.c1) : obj.c1 != null)
            return false;
        if (d1 != null ? !d1.equals(obj.d1) : obj.d1 != null)
            return false;
        if (str != null ? !str.equals(obj.str) : obj.str != null)
            return false;
        if (list != null ? !list.equals(obj.list) : obj.list != null)
            return false;
        if (set != null ? !set.equals(obj.set) : obj.set != null)
            return false;
        if (map != null ? !map.equals(obj.map) : obj.map != null)
            return false;
        if (bigDecimal != null ? !bigDecimal.equals(obj.bigDecimal) : obj.bigDecimal != null)
            return false;
        if (date != null ? !date.equals(obj.date) : obj.date != null)
            return false;
        return currency != null ? currency.equals(obj.currency) : obj.currency == null;
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
test/test-integration/src/test/java/com/alipay/sofa/rpc/codec/AllTypeObj.java