added user date hashmap to checklist
This commit is contained in:
parent
dbe3384788
commit
cfe7e42f65
@ -4,8 +4,7 @@ import org.hibernate.annotations.Cache;
|
|||||||
import org.hibernate.annotations.CacheConcurrencyStrategy;
|
import org.hibernate.annotations.CacheConcurrencyStrategy;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
import java.util.ArrayList;
|
import java.util.*;
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@ -39,7 +38,18 @@ public class CheckList extends DomainObject {
|
|||||||
|
|
||||||
@ManyToMany
|
@ManyToMany
|
||||||
private List<ChecklistCategory> categories = new ArrayList<ChecklistCategory>();
|
private List<ChecklistCategory> categories = new ArrayList<ChecklistCategory>();
|
||||||
|
|
||||||
|
@ElementCollection(fetch=FetchType.EAGER)
|
||||||
|
private Map<User, Date> userLastOpenDate = new HashMap<User, Date>();
|
||||||
|
|
||||||
|
public Map<User, Date> getUserLastOpenDate() {
|
||||||
|
return userLastOpenDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserLastOpenDate(Map<User, Date> userLastOpenDate) {
|
||||||
|
this.userLastOpenDate = userLastOpenDate;
|
||||||
|
}
|
||||||
|
|
||||||
public CheckList() {
|
public CheckList() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user