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