3f3f491ca16a1a754e30a69ce665b385c1cb889b
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / entity / aai / BaseData.java
1 /**
2  * Copyright 2016-2017 ZTE Corporation.
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16 package org.onap.aai.esr.entity.aai;
17
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;
24
25 @Entity
26 @Table(name = "extsys_base_table")
27 @Inheritance(strategy = InheritanceType.JOINED)
28 public class BaseData {
29   @Id
30   @Column(name = "ID")
31   private String id;
32
33   @Column(name = "NAME")
34   private String name;
35
36   @Column(name = "VENDOR")
37   private String vendor;
38
39   @Column(name = "VERSION")
40   private String version;
41
42   @Column(name = "DESCRIPTION")
43   private String description;
44
45   @Column(name = "TYPE")
46   private String type;
47   @Column(name = "CREATETIME")
48   private String createTime;
49   @Column(name = "CATAGORY")
50   private String category;
51
52   public String getId() {
53     return id;
54   }
55
56   public void setId(String id) {
57     this.id = id;
58   }
59
60   public String getName() {
61     return name;
62   }
63
64   public void setName(String name) {
65     this.name = name;
66   }
67
68   public String getVendor() {
69     return vendor;
70   }
71
72   public void setVendor(String vendor) {
73     this.vendor = vendor;
74   }
75
76   public String getVersion() {
77     return version;
78   }
79
80   public void setVersion(String version) {
81     this.version = version;
82   }
83
84   public String getDescription() {
85     return description;
86   }
87
88   public void setDescription(String description) {
89     this.description = description;
90   }
91
92   public String getType() {
93     return type;
94   }
95
96   public void setType(String type) {
97     this.type = type;
98   }
99
100   public String getCreateTime() {
101     return createTime;
102   }
103
104   public void setCreateTime(String createTime) {
105     this.createTime = createTime;
106   }
107
108   public String getCategory() {
109     return category;
110   }
111
112   public void setCategory(String category) {
113     this.category = category;
114   }
115
116 }