package com.withiter.models.merchant; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import play.Logger; import com.google.code.morphia.annotations.Entity; import com.google.code.morphia.annotations.Indexed; import com.withiter.models.BaseModel; @Entity public abstract class HaomaEntityDef extends BaseModel { @Indexed public String merchantId; @Indexed public long version = 0l; // 每次编辑和job clean version都需要自增 /** * key is the seatType, eg: 2, 4, 6, 8 * value is the Paidui status */ public Map<Integer, Paidui> haomaMap = new HashMap<Integer, Paidui>(); @Indexed public boolean noNeedPaidui = false; }