[PORTAL-7] Rebase
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / PersUserAppSelection.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 org.openecomp.portalsdk.core.domain.support.DomainVo;\r
23 \r
24 /**\r
25  * Models a row in the table with personalization of user app selections.\r
26  */\r
27 public class PersUserAppSelection extends DomainVo {\r
28 \r
29         private static final long serialVersionUID = 1545308654500121206L;\r
30 \r
31         private Long userId;\r
32 \r
33         private Long appId;\r
34 \r
35         private String statusCode;\r
36 \r
37         public PersUserAppSelection() {}\r
38         \r
39         /**\r
40          * Convenience constructor\r
41          * \r
42          * @param id\r
43          * @param userId\r
44          * @param appId\r
45          * @param statusCode\r
46          */\r
47         public PersUserAppSelection(final Long id, final Long userId, final Long appId, final String statusCode) {\r
48                 super.id = id;\r
49                 this.userId = userId;\r
50                 this.appId = appId;\r
51                 this.statusCode = statusCode;\r
52         }\r
53         \r
54         public Long getAppId() {\r
55                 return appId;\r
56         }\r
57 \r
58         public void setAppId(Long appId) {\r
59                 this.appId = appId;\r
60         }\r
61 \r
62         public Long getUserId() {\r
63                 return userId;\r
64         }\r
65 \r
66         public void setUserId(Long userId) {\r
67                 this.userId = userId;\r
68         }\r
69 \r
70         public String getStatusCode() {\r
71                 return statusCode;\r
72         }\r
73 \r
74         public void setStatusCode(String statusCode) {\r
75                 this.statusCode = statusCode;\r
76         }\r
77 \r
78 }\r