| | |
| | | package com.vci.ubcs.webservice.config; |
| | | |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @ConfigurationProperties(prefix="attrconfig") |
| | | @Component |
| | | public class AttributeMapConfig { |
| | | private Map<String,String> system_attrmap; |
| | | |
| | | /**** |
| | | * 无人机主数据与ERP集成字段值转换 |
| | | */ |
| | | private Map<String,String> attrKey1ToKey2Map; |
| | | public Map<String, String> getSystem_attrmap() { |
| | | return system_attrmap; |
| | | } |
| | | public void setSystem_attrmap(Map<String, String> system_attrmap) { |
| | | this.system_attrmap = system_attrmap; |
| | | } |
| | | |
| | | |
| | | public Map<String, String> getAttrKey1ToKey2Map() { |
| | | return attrKey1ToKey2Map; |
| | | } |
| | | |
| | | public void setAttrKey1ToKey2Map(Map<String, String> attrKey1ToKey2Map) { |
| | | this.attrKey1ToKey2Map = attrKey1ToKey2Map; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "AttributeMapConfig{" + |
| | | "system_attrmap=" + system_attrmap + |
| | | ", attrKey1ToKey2Map=" + attrKey1ToKey2Map + |
| | | '}'; |
| | | } |
| | | } |