|
|
@@ -3,19 +3,17 @@ package com.example.lambda.service.web.entity;
|
|
|
import com.example.lambda.service.web.type.IRType;
|
|
|
import com.example.lambda.service.web.type.SourceType;
|
|
|
import com.example.lambda.service.web.type.TargetType;
|
|
|
-import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
|
import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
|
|
|
public class ServiceInfo {
|
|
|
|
|
|
- private String serviceName;
|
|
|
- private List<TypeInfo> sourceTypes;
|
|
|
- private List<TypeInfo> irTypes;
|
|
|
- private List<TypeInfo> targetTypes;
|
|
|
- private List<TypeMap<SourceType, IRType>> patternOptions;
|
|
|
- private List<TypeMap<IRType, TargetType>> renderOptions;
|
|
|
+ private String serviceName; // 服务名称
|
|
|
+ private List<TypeInfo> sourceTypes; // 源代码类型
|
|
|
+ private List<TypeInfo> irTypes; // 中间类型
|
|
|
+ private List<TypeInfo> targetTypes; // 渲染目标类型
|
|
|
+ private List<TypeMap<SourceType, IRType>> patternOptions; // 解析服务可选类型映射
|
|
|
+ private List<TypeMap<IRType, TargetType>> renderOptions; // 渲染服务可选类型映射
|
|
|
|
|
|
public String getServiceName() {
|
|
|
return serviceName;
|