Some minor annotation fixes
Change-Id: Ibd5ca02a67c6f3e8eccd34062e3faa086d5727f6
This commit is contained in:
parent
f24e129eea
commit
fb978419a1
@ -2,7 +2,6 @@ package se.su.dsv.scipro.data.dataobjects;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Basic;
|
||||
import javax.persistence.Cacheable;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
@ -32,10 +31,13 @@ public class FileDescription extends DomainObject implements Comparable<FileDesc
|
||||
@GeneratedValue
|
||||
private Long id;
|
||||
|
||||
@Column(length=255)
|
||||
private String name;
|
||||
private Date targetLastModified;
|
||||
@Column(length=255)
|
||||
private String mimeType;
|
||||
@Index(name="file_description_identifier_index") //Hibernate specific, just for performance
|
||||
@Column(length=255)
|
||||
private String identifier;
|
||||
@Index(name="file_description_path_index") //Hibernate specific, just for performance
|
||||
@Column(length=PATH_MAX_LENGTH)
|
||||
|
Loading…
x
Reference in New Issue
Block a user