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 javax.persistence.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
*
|
||||
@ -39,7 +38,18 @@ public class CheckList extends DomainObject {
|
||||
|
||||
@ManyToMany
|
||||
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() {
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user