nexus site path corrected
[portal.git] / ecomp-portal-BE / src / main / java / org / openecomp / portalapp / portal / transport / EventWidget.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.transport;
21 /*package org.openecomp.portalapp.portal.transport;
22
23 import javax.persistence.Column;
24 import javax.persistence.Entity;
25 import javax.persistence.GeneratedValue;
26 import javax.persistence.GenerationType;
27 import javax.persistence.Id;
28 import javax.persistence.Table;
29
30 import org.openecomp.portalsdk.core.domain.support.DomainVo;
31 import com.fasterxml.jackson.annotation.JsonInclude;
32
33 *//**
34  * This is to handle portal admins
35  * @author aw3218
36  *//*
37 @Entity 
38 @Table(name="fn_event_widget_data")
39 @JsonInclude(JsonInclude.Include.NON_NULL)
40 public class EventWidget extends DomainVo{
41
42         *//**
43          * 
44          *//*
45         private static final long serialVersionUID = -2784849102886421352L;
46
47         
48         @Id
49         @GeneratedValue(strategy=GenerationType.AUTO)
50         @Column(name = "id")
51         private Long id;
52
53         @Column(name = "category")
54         private String category;
55
56         @Column(name = "title")
57         private String title;
58         
59         @Column(name = "href")
60         private String href;
61
62         @Column(name = "content")
63         private String content;
64         
65         @Column(name = "month_val")
66         private String mon;
67
68         @Column(name = "day_val")
69         private Integer  day;
70
71         @Column(name = "year_val")
72         private Integer year;
73
74         @Column(name = "sort_order")
75         private Integer sortOrder;
76
77         public String getTitle() {
78                 return title;
79         }
80
81         public void setTitle(String title) {
82                 this.title = title;
83         }
84
85         public String getHref() {
86                 return href;
87         }
88
89         public void setHref(String href) {
90                 this.href = href;
91         }
92
93         public String getContent() {
94                 return content;
95         }
96
97         public void setContent(String content) {
98                 this.content = content;
99         }
100
101         public String getMon() {
102                 return mon;
103         }
104
105         public void setMonth(String mon) {
106                 this.mon = mon;
107         }
108
109         public Integer getDay() {
110                 return day;
111         }
112
113         public void setDay(Integer day) {
114                 this.day = day;
115         }
116
117         public Integer getYear() {
118                 return year;
119         }
120
121         public void setYear(Integer year) {
122                 this.year = year;
123         }
124
125         public Integer getSortOrder() {
126                 return sortOrder;
127         }
128
129         public String getCategory() {
130                 return category;
131         }
132
133         public void setCategory(String category) {
134                 this.category = category;
135         }
136         
137         
138 }
139 */