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