-
Notifications
You must be signed in to change notification settings - Fork 31
/
BlogPost.java
34 lines (28 loc) · 1.03 KB
/
BlogPost.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.fieldgenerator.test;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
@Entity
@Table(name = "blogpost", schema = "publications")
public class BlogPost extends Publication {
@Column(name = "url", nullable = false, updatable = false, columnDefinition = "varchar(255)")
private String url ;
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}