0b546a80b9e5915726d40811e709bf270e8b7577
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / entity / aai / VimData.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 com.fasterxml.jackson.annotation.JsonIgnoreProperties;
19
20 import javax.persistence.Column;
21 import javax.persistence.Entity;
22 import javax.persistence.PrimaryKeyJoinColumn;
23 import javax.persistence.Table;
24
25 @Entity
26 @Table(name = "extsys_vim_table")
27 @PrimaryKeyJoinColumn(name = "VIMID")
28 @JsonIgnoreProperties(ignoreUnknown = true)
29 public class VimData extends BaseData {
30
31
32   @Column(name = "URL")
33   private String url;
34
35   @Column(name = "USERNAME")
36   private String userName;
37
38   @Column(name = "PASSWORD")
39   private String password;
40
41   @Column(name = "DOMAIN")
42   private String domain;
43
44   @Column(name = "TENANT")
45   private String tenant;
46
47   public String getDomain() {
48     return domain;
49   }
50
51   public void setDomain(String domain) {
52     this.domain = domain;
53   }
54
55   public String getTenant() {
56     return tenant;
57   }
58
59   public void setTenant(String tenant) {
60     this.tenant = tenant;
61   }
62
63   public String getUrl() {
64     return url;
65   }
66
67   public void setUrl(String url) {
68     this.url = url;
69   }
70
71   public String getUserName() {
72     return userName;
73   }
74
75   public void setUserName(String userName) {
76     this.userName = userName;
77   }
78
79   public String getPassword() {
80     return password;
81   }
82
83   public void setPassword(String password) {
84     this.password = password;
85   }
86
87 }