222e753c4491324980805354e77444685e39e01f
[vid.git] / vid-ext-services-simulator / src / main / java / org / onap / simulator / db / entities / App.java
1 package org.onap.simulator.db.entities;
2
3 import javax.persistence.Column;
4 import javax.persistence.Entity;
5 import javax.persistence.Id;
6 import org.hibernate.annotations.Type;
7
8 @Entity(name = "fn_app")
9 public class App {
10     @Id
11     @Column(name = "app_id")
12     protected Integer id;
13     @Column(name = "app_name")
14     private String name; // app_name
15     @Column(name = "app_image_url")
16     private String imageUrl; // app_image_url
17     @Column(name = "app_description")
18     private String description; // app_description
19     @Column(name = "app_notes")
20     private String notes; // app_notes
21     @Column(name = "app_url")
22     private String url; // app_url
23     @Column(name = "app_alternate_url")
24     private String alternateUrl; // app_alternate_url
25     @Column(name = "app_rest_endpoint")
26     private String restEndpoint; // app_rest_endpoint
27     @Column(name = "ml_app_name")
28     private String mlAppName; // ml_app_name
29     @Column(name = "ml_app_admin_id")
30     private String mlAppAdminId; // ml_app_admin_id
31     @Column(name = "mots_id")
32     private Integer motsId; // mots_id
33     @Column(name = "app_password")
34     private String appPassword; // app_password
35     @Column(columnDefinition = "varchar")
36     @Type(type="yes_no")
37     private Boolean open;
38     @Column(columnDefinition = "varchar")
39     @Type(type="yes_no")
40     private Boolean enabled;
41     @Column(columnDefinition="mediumblob")
42     private byte[] thumbnail;
43     @Column(name = "app_username")
44     private String username; // app_username
45     @Column(name = "ueb_key")
46     private String uebKey; // ueb_key
47     @Column(name = "ueb_secret")
48     private String uebSecret; // ueb_secret
49     @Column(name = "ueb_topic_name")
50     private String uebTopicName; // ueb_topic_name
51
52
53     public Integer getId() {
54         return id;
55     }
56
57     public void setId(Integer id) {
58         this.id = id;
59     }
60
61     public String getName() {
62         return name;
63     }
64
65     public void setName(String name) {
66         this.name = name;
67     }
68
69     public String getImageUrl() {
70         return imageUrl;
71     }
72
73     public void setImageUrl(String imageUrl) {
74         this.imageUrl = imageUrl;
75     }
76
77     public String getDescription() {
78         return description;
79     }
80
81     public void setDescription(String description) {
82         this.description = description;
83     }
84
85     public String getNotes() {
86         return notes;
87     }
88
89     public void setNotes(String notes) {
90         this.notes = notes;
91     }
92
93     public String getUrl() {
94         return url;
95     }
96
97     public void setUrl(String url) {
98         this.url = url;
99     }
100
101     public String getAlternateUrl() {
102         return alternateUrl;
103     }
104
105     public void setAlternateUrl(String alternateUrl) {
106         this.alternateUrl = alternateUrl;
107     }
108
109     public String getRestEndpoint() {
110         return restEndpoint;
111     }
112
113     public void setRestEndpoint(String restEndpoint) {
114         this.restEndpoint = restEndpoint;
115     }
116
117     public String getMlAppName() {
118         return mlAppName;
119     }
120
121     public void setMlAppName(String mlAppName) {
122         this.mlAppName = mlAppName;
123     }
124
125     public String getMlAppAdminId() {
126         return mlAppAdminId;
127     }
128
129     public void setMlAppAdminId(String mlAppAdminId) {
130         this.mlAppAdminId = mlAppAdminId;
131     }
132
133     public Integer getMotsId() {
134         return motsId;
135     }
136
137     public void setMotsId(Integer motsId) {
138         this.motsId = motsId;
139     }
140
141     public String getAppPassword() {
142         return appPassword;
143     }
144
145     public void setAppPassword(String appPassword) {
146         this.appPassword = appPassword;
147     }
148
149     public Boolean getOpen() {
150         return open;
151     }
152
153     public void setOpen(Boolean open) {
154         this.open = open;
155     }
156
157     public Boolean getEnabled() {
158         return enabled;
159     }
160
161     public void setEnabled(Boolean enabled) {
162         this.enabled = enabled;
163     }
164
165     public byte[] getThumbnail() {
166         return thumbnail;
167     }
168
169     public void setThumbnail(byte[] thumbnail) {
170         this.thumbnail = thumbnail;
171     }
172
173     public String getUsername() {
174         return username;
175     }
176
177     public void setUsername(String username) {
178         this.username = username;
179     }
180
181     public String getUebKey() {
182         return uebKey;
183     }
184
185     public void setUebKey(String uebKey) {
186         this.uebKey = uebKey;
187     }
188
189     public String getUebSecret() {
190         return uebSecret;
191     }
192
193     public void setUebSecret(String uebSecret) {
194         this.uebSecret = uebSecret;
195     }
196
197     public String getUebTopicName() {
198         return uebTopicName;
199     }
200
201     public void setUebTopicName(String uebTopicName) {
202         this.uebTopicName = uebTopicName;
203     }
204 }