mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
33 lines
519 B
Java
33 lines
519 B
Java
package org.tests.model.basic;
|
|
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Lob;
|
|
|
|
@Entity
|
|
public class PFileContent extends BasicDomain {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* The content.
|
|
*/
|
|
@Lob
|
|
private byte[] content;
|
|
|
|
public PFileContent() {
|
|
}
|
|
|
|
public PFileContent(byte[] content) {
|
|
super();
|
|
this.content = content;
|
|
}
|
|
|
|
public byte[] getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(byte[] content) {
|
|
this.content = content;
|
|
}
|
|
}
|