diff options
author | 2016-10-27 17:17:53 +0800 | |
---|---|---|
committer | 2016-10-27 17:17:53 +0800 | |
commit | e1ae56c72fa016eddcb52f8046524c20f09cc1a6 (patch) | |
tree | e9eed9ea0f171e479f55f0a609ea79796869272b /catalog-core/catalog-mgr/src/main/java | |
parent | 956eed828e744686bf0938b8583b83bf0b6a89ea (diff) |
TOSCA-152 Add metadata and service Template original Id property for service Template table
Change-Id: Ie7e443ecdbf8833e60eb87794208e437d63ffdf2
Issue-id: TOSCA-152
Signed-off-by: sunqi310 <sun.qi310@zte.com.cn>
Diffstat (limited to 'catalog-core/catalog-mgr/src/main/java')
-rw-r--r-- | catalog-core/catalog-mgr/src/main/java/org/openo/commontosca/catalog/db/entity/ServiceTemplateData.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/catalog-core/catalog-mgr/src/main/java/org/openo/commontosca/catalog/db/entity/ServiceTemplateData.java b/catalog-core/catalog-mgr/src/main/java/org/openo/commontosca/catalog/db/entity/ServiceTemplateData.java index ddaa5fce..7348b868 100644 --- a/catalog-core/catalog-mgr/src/main/java/org/openo/commontosca/catalog/db/entity/ServiceTemplateData.java +++ b/catalog-core/catalog-mgr/src/main/java/org/openo/commontosca/catalog/db/entity/ServiceTemplateData.java @@ -56,6 +56,12 @@ public class ServiceTemplateData extends BaseData { @Column(name = "OPERATIONS") private String operations; + @Column(name = "METADATA") + private String metadata; + + @Column(name = "SERVICETEMPLATEORIGINALID") + private String serviceTemplateOriginalId; + public String getRowData() { return rowData; } @@ -136,4 +142,19 @@ public class ServiceTemplateData extends BaseData { return serviceTemplateId; } + public String getMetadata() { + return metadata; + } + + public void setMetadata(String metadata) { + this.metadata = metadata; + } + + public String getServiceTemplateOriginalId() { + return serviceTemplateOriginalId; + } + + public void setServiceTemplateOriginalId(String serviceTemplateOriginalId) { + this.serviceTemplateOriginalId = serviceTemplateOriginalId; + } } |