@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof UserInfo other)) {
            return super.equals(obj);
        }

        if (hasId() != other.hasId()) {
            return false;
        }
        if (hasId()) {
            if (getId() != other.getId()) {
                return false;
            }
        }
        if (hasName() != other.hasName()) {
            return false;
        }
        if (hasName()) {
            if (!getName().equals(other.getName())) {
                return false;
            }
        }
        if (hasIntro() != other.hasIntro()) {
            return false;
        }
        if (hasIntro()) {
            if (!getIntro().equals(other.getIntro())) {
                return false;
            }
        }
        if (hasProfilePicture() != other.hasProfilePicture()) {
            return false;
        }
        if (hasProfilePicture()) {
            if (!getProfilePicture().equals(other.getProfilePicture())) {
                return false;
            }
        }
        if (hasProfileAccessStrategy() != other.hasProfileAccessStrategy()) {
            return false;
        }
        if (hasProfileAccessStrategy()) {
            if (profileAccessStrategy_ != other.profileAccessStrategy_) {
                return false;
            }
        }
        if (hasRegistrationDate() != other.hasRegistrationDate()) {
            return false;
        }
        if (hasRegistrationDate()) {
            if (getRegistrationDate() != other.getRegistrationDate()) {
                return false;
            }
        }
        if (hasLastUpdatedDate() != other.hasLastUpdatedDate()) {
            return false;
        }
        if (hasLastUpdatedDate()) {
            if (getLastUpdatedDate() != other.getLastUpdatedDate()) {
                return false;
            }
        }
        if (hasActive() != other.hasActive()) {
            return false;
        }
        if (hasActive()) {
            if (getActive() != other.getActive()) {
                return false;
            }
        }
        return internalGetUserDefinedAttributes().equals(other.internalGetUserDefinedAttributes())
                && getCustomAttributesList().equals(other.getCustomAttributesList())
                && getUnknownFields().equals(other.getUnknownFields());
    }
<code>repeated .im.turms.proto.Value custom_attributes = 15;</code>
turms-server-common/src/main/java/im/turms/server/common/access/client/dto/model/user/UserInfo.java