2 * Copyright 2016 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.db;
18 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
20 import javax.persistence.Column;
21 import javax.persistence.Entity;
22 import javax.persistence.PrimaryKeyJoinColumn;
23 import javax.persistence.Table;
28 @Table(name = "extsys_ems_table")
29 @PrimaryKeyJoinColumn(name = "EMSID")
30 @JsonIgnoreProperties(ignoreUnknown = true)
31 public class EmsData extends BaseData {
34 @Column(name = "PRODUCTNAME")
35 private String productName;
40 @Column(name = "USERNAME")
41 private String userName;
43 @Column(name = "PASSWORD")
44 private String password;
47 public String getUrl() {
51 public void setUrl(String url) {
55 public String getUserName() {
59 public void setUserName(String userName) {
60 this.userName = userName;
63 public String getPassword() {
67 public void setPassword(String password) {
68 this.password = password;
71 public String getProductName() {
75 public void setProductName(String productName) {
76 this.productName = productName;