绑定关系
parent
e17873e789
commit
66f21eb937
|
|
@ -1,6 +1,7 @@
|
|||
package com.ljsd.jieling.logic.dao;
|
||||
|
||||
import com.ljsd.common.mogodb.MongoBase;
|
||||
import com.ljsd.jieling.logic.dao.root.User;
|
||||
|
||||
public class Item extends MongoBase {
|
||||
|
||||
|
|
@ -12,7 +13,8 @@ public class Item extends MongoBase {
|
|||
private int endingTime;
|
||||
|
||||
public Item(){
|
||||
|
||||
//绑定关系
|
||||
this.setRootCollection(User._COLLECTION_NAME);
|
||||
}
|
||||
|
||||
public Item(int itemId,int itemNum){
|
||||
|
|
|
|||
Loading…
Reference in New Issue