d96f18210f407f594a62fd7b12b2e3a5d415e9d0
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / transport / EventWidget.java
1 package org.onap.portalapp.portal.transport;
2 /*-
3  * ============LICENSE_START==========================================
4  * ONAP Portal
5  * ===================================================================
6  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===================================================================
8  *
9  * Unless otherwise specified, all software contained herein is licensed
10  * under the Apache License, Version 2.0 (the "License");
11  * you may not use this software except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  *             http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  * Unless otherwise specified, all documentation contained herein is licensed
23  * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
24  * you may not use this documentation except in compliance with the License.
25  * You may obtain a copy of the License at
26  *
27  *             https://creativecommons.org/licenses/by/4.0/
28  *
29  * Unless required by applicable law or agreed to in writing, documentation
30  * distributed under the License is distributed on an "AS IS" BASIS,
31  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32  * See the License for the specific language governing permissions and
33  * limitations under the License.
34  *
35  * ============LICENSE_END============================================
36  *
37  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
38  */
39 /*package org.onap.portalapp.portal.transport;
40
41 import javax.persistence.Column;
42 import javax.persistence.Entity;
43 import javax.persistence.GeneratedValue;
44 import javax.persistence.GenerationType;
45 import javax.persistence.Id;
46 import javax.persistence.Table;
47
48 import org.onap.portalsdk.core.domain.support.DomainVo;
49 import com.fasterxml.jackson.annotation.JsonInclude;
50
51 *//**
52  * This is to handle portal admins
53  *//*
54 @Entity 
55 @Table(name="fn_event_widget_data")
56 @JsonInclude(JsonInclude.Include.NON_NULL)
57 public class EventWidget extends DomainVo{
58
59         *//**
60          * 
61          *//*
62         private static final long serialVersionUID = -2784849102886421352L;
63
64         
65         @Id
66         @GeneratedValue(strategy=GenerationType.AUTO)
67         @Column(name = "id")
68         private Long id;
69
70         @Column(name = "category")
71         private String category;
72
73         @Column(name = "title")
74         private String title;
75         
76         @Column(name = "href")
77         private String href;
78
79         @Column(name = "content")
80         private String content;
81         
82         @Column(name = "month_val")
83         private String mon;
84
85         @Column(name = "day_val")
86         private Integer  day;
87
88         @Column(name = "year_val")
89         private Integer year;
90
91         @Column(name = "sort_order")
92         private Integer sortOrder;
93
94         public String getTitle() {
95                 return title;
96         }
97
98         public void setTitle(String title) {
99                 this.title = title;
100         }
101
102         public String getHref() {
103                 return href;
104         }
105
106         public void setHref(String href) {
107                 this.href = href;
108         }
109
110         public String getContent() {
111                 return content;
112         }
113
114         public void setContent(String content) {
115                 this.content = content;
116         }
117
118         public String getMon() {
119                 return mon;
120         }
121
122         public void setMonth(String mon) {
123                 this.mon = mon;
124         }
125
126         public Integer getDay() {
127                 return day;
128         }
129
130         public void setDay(Integer day) {
131                 this.day = day;
132         }
133
134         public Integer getYear() {
135                 return year;
136         }
137
138         public void setYear(Integer year) {
139                 this.year = year;
140         }
141
142         public Integer getSortOrder() {
143                 return sortOrder;
144         }
145
146         public String getCategory() {
147                 return category;
148         }
149
150         public void setCategory(String category) {
151                 this.category = category;
152         }
153         
154         
155 }
156 */