mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
59 lines
1.1 KiB
Java
59 lines
1.1 KiB
Java
|
|
package com.commafeed.backend.model;
|
||
|
|
|
||
|
|
import javax.persistence.Column;
|
||
|
|
import javax.persistence.Entity;
|
||
|
|
import javax.persistence.Lob;
|
||
|
|
import javax.persistence.Table;
|
||
|
|
|
||
|
|
@Entity
|
||
|
|
@Table(name = "FEEDENTRYCONTENTS")
|
||
|
|
@SuppressWarnings("serial")
|
||
|
|
public class FeedEntryContent extends AbstractModel {
|
||
|
|
|
||
|
|
@Column(length = 2048)
|
||
|
|
private String title;
|
||
|
|
|
||
|
|
@Lob
|
||
|
|
@Column(length = Integer.MAX_VALUE)
|
||
|
|
private String content;
|
||
|
|
|
||
|
|
@Column(length = 2048)
|
||
|
|
private String enclosureUrl;
|
||
|
|
|
||
|
|
@Column(length = 255)
|
||
|
|
private String enclosureType;
|
||
|
|
|
||
|
|
public String getContent() {
|
||
|
|
return content;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setContent(String content) {
|
||
|
|
this.content = content;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getEnclosureUrl() {
|
||
|
|
return enclosureUrl;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnclosureUrl(String enclosureUrl) {
|
||
|
|
this.enclosureUrl = enclosureUrl;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getEnclosureType() {
|
||
|
|
return enclosureType;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnclosureType(String enclosureType) {
|
||
|
|
this.enclosureType = enclosureType;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getTitle() {
|
||
|
|
return title;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTitle(String title) {
|
||
|
|
this.title = title;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|