|
|
@ -8,6 +8,7 @@ import ru.ulstu.core.model.BaseEntity;
|
|
|
|
import ru.ulstu.core.model.UserContainer;
|
|
|
|
import ru.ulstu.core.model.UserContainer;
|
|
|
|
import ru.ulstu.deadline.model.Deadline;
|
|
|
|
import ru.ulstu.deadline.model.Deadline;
|
|
|
|
import ru.ulstu.file.model.FileData;
|
|
|
|
import ru.ulstu.file.model.FileData;
|
|
|
|
|
|
|
|
import ru.ulstu.grant.model.Grant;
|
|
|
|
import ru.ulstu.timeline.model.Event;
|
|
|
|
import ru.ulstu.timeline.model.Event;
|
|
|
|
import ru.ulstu.user.model.User;
|
|
|
|
import ru.ulstu.user.model.User;
|
|
|
|
|
|
|
|
|
|
|
@ -118,6 +119,9 @@ public class Paper extends BaseEntity implements UserContainer {
|
|
|
|
@ManyToMany(mappedBy = "papers")
|
|
|
|
@ManyToMany(mappedBy = "papers")
|
|
|
|
private List<Conference> conferences;
|
|
|
|
private List<Conference> conferences;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ManyToMany(mappedBy = "papers")
|
|
|
|
|
|
|
|
private List<Grant> grants;
|
|
|
|
|
|
|
|
|
|
|
|
public PaperStatus getStatus() {
|
|
|
|
public PaperStatus getStatus() {
|
|
|
|
return status;
|
|
|
|
return status;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -230,6 +234,14 @@ public class Paper extends BaseEntity implements UserContainer {
|
|
|
|
this.conferences = conferences;
|
|
|
|
this.conferences = conferences;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<Grant> getGrants() {
|
|
|
|
|
|
|
|
return grants;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setGrants(List<Grant> grants) {
|
|
|
|
|
|
|
|
this.grants = grants;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public Set<User> getUsers() {
|
|
|
|
public Set<User> getUsers() {
|
|
|
|
return getAuthors();
|
|
|
|
return getAuthors();
|
|
|
|