[PORTAL-16 PORTAL-18] Widget ms; staging
[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  * @author aw3218
35  *//*
36 @Entity 
37 @Table(name="fn_event_widget_data")
38 @JsonInclude(JsonInclude.Include.NON_NULL)
39 public class EventWidget extends DomainVo{
40
41         *//**
42          * 
43          *//*
44         private static final long serialVersionUID = -2784849102886421352L;
45
46         
47         @Id
48         @GeneratedValue(strategy=GenerationType.AUTO)
49         @Column(name = "id")
50         private Long id;
51
52         @Column(name = "category")
53         private String category;
54
55         @Column(name = "title")
56         private String title;
57         
58         @Column(name = "href")
59         private String href;
60
61         @Column(name = "content")
62         private String content;
63         
64         @Column(name = "month_val")
65         private String mon;
66
67         @Column(name = "day_val")
68         private Integer  day;
69
70         @Column(name = "year_val")
71         private Integer year;
72
73         @Column(name = "sort_order")
74         private Integer sortOrder;
75
76         public String getTitle() {
77                 return title;
78         }
79
80         public void setTitle(String title) {
81                 this.title = title;
82         }
83
84         public String getHref() {
85                 return href;
86         }
87
88         public void setHref(String href) {
89                 this.href = href;
90         }
91
92         public String getContent() {
93                 return content;
94         }
95
96         public void setContent(String content) {
97                 this.content = content;
98         }
99
100         public String getMon() {
101                 return mon;
102         }
103
104         public void setMonth(String mon) {
105                 this.mon = mon;
106         }
107
108         public Integer getDay() {
109                 return day;
110         }
111
112         public void setDay(Integer day) {
113                 this.day = day;
114         }
115
116         public Integer getYear() {
117                 return year;
118         }
119
120         public void setYear(Integer year) {
121                 this.year = year;
122         }
123
124         public Integer getSortOrder() {
125                 return sortOrder;
126         }
127
128         public String getCategory() {
129                 return category;
130         }
131
132         public void setCategory(String category) {
133                 this.category = category;
134         }
135         
136         
137 }
138 */