@Override
        public ServiceHierarchyRelationTraffic storage2Entity(final Convert2Entity converter) {
            ServiceHierarchyRelationTraffic traffic = new ServiceHierarchyRelationTraffic();
            traffic.setServiceId((String) converter.get(SERVICE_ID));
            traffic.setRelatedServiceId((String) converter.get(RELATED_SERVICE_ID));
            if (converter.get(SERVICE_LAYER) != null) {
                traffic.setServiceLayer(Layer.valueOf(((Number) converter.get(SERVICE_LAYER)).intValue()));
            } else {
                traffic.setServiceLayer(Layer.UNDEFINED);
            }
            if (converter.get(RELATED_SERVICE_LAYER) != null) {
                traffic.setRelatedServiceLayer(
                    Layer.valueOf(((Number) converter.get(RELATED_SERVICE_LAYER)).intValue()));
            } else {
                traffic.setRelatedServiceLayer(Layer.UNDEFINED);
            }
            if (converter.get(TIME_BUCKET) != null) {
                traffic.setTimeBucket(((Number) converter.get(TIME_BUCKET)).longValue());
            }
            return traffic;
        }
The service layer of the lower service.
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/hierarchy/service/ServiceHierarchyRelationTraffic.java