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