[PORTAL-16 PORTAL-18] Widget ms; staging
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / MicroserviceParameter.java
1 /*-
2  * ================================================================================
3  * ECOMP Portal
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ================================================================================
19  */
20 package org.openecomp.portalapp.portal.domain;
21
22 import javax.persistence.Column;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.GenerationType;
25 import javax.persistence.Id;
26 import org.openecomp.portalsdk.core.domain.support.DomainVo;
27
28 public class MicroserviceParameter extends DomainVo {
29
30         private static final long serialVersionUID = 1L;
31
32         public MicroserviceParameter() {
33
34         }
35
36         private Long id;
37
38         private long serviceId;
39
40         private String para_key;
41
42         private String para_value;
43
44         public Long getId() {
45                 return id;
46         }
47
48         public void setId(Long id) {
49                 this.id = id;
50         }
51
52         public long getServiceId() {
53                 return serviceId;
54         }
55
56         public void setServiceId(long serviceId) {
57                 this.serviceId = serviceId;
58         }
59
60         public String getPara_key() {
61                 return para_key;
62         }
63
64         public void setPara_key(String para_key) {
65                 this.para_key = para_key;
66         }
67
68         public String getPara_value() {
69                 return para_value;
70         }
71
72         public void setPara_value(String para_value) {
73                 this.para_value = para_value;
74         }
75
76         @Override
77         public String toString() {
78                 return "MicroserviceParameter [id=" + id + ", serviceId=" + serviceId + ", para_key=" + para_key
79                                 + ", para_value=" + para_value + "]";
80         }
81
82 }