2 * Copyright 2016-2017 ZTE Corporation.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.onap.aai.esr.entity.aai;
18 import javax.persistence.Column;
19 import javax.persistence.Entity;
20 import javax.persistence.Id;
21 import javax.persistence.Inheritance;
22 import javax.persistence.InheritanceType;
23 import javax.persistence.Table;
26 @Table(name = "extsys_base_table")
27 @Inheritance(strategy = InheritanceType.JOINED)
28 public class BaseData {
33 @Column(name = "NAME")
36 @Column(name = "VENDOR")
37 private String vendor;
39 @Column(name = "VERSION")
40 private String version;
42 @Column(name = "DESCRIPTION")
43 private String description;
45 @Column(name = "TYPE")
47 @Column(name = "CREATETIME")
48 private String createTime;
49 @Column(name = "CATAGORY")
50 private String category;
52 public String getId() {
56 public void setId(String id) {
60 public String getName() {
64 public void setName(String name) {
68 public String getVendor() {
72 public void setVendor(String vendor) {
76 public String getVersion() {
80 public void setVersion(String version) {
81 this.version = version;
84 public String getDescription() {
88 public void setDescription(String description) {
89 this.description = description;
92 public String getType() {
96 public void setType(String type) {
100 public String getCreateTime() {
104 public void setCreateTime(String createTime) {
105 this.createTime = createTime;
108 public String getCategory() {
112 public void setCategory(String category) {
113 this.category = category;