package kz.cafe.db.model;

import java.util.*;
import kz.cafe.constants.*;
import kz.cafe.constants.InterfaceConstants.*;
import kz.cafe.db.model.anotations.*;
import com.google.code.morphia.annotations.*;


@Entity(value="Course", noClassnameStored=true, concern = "SAFE")
public class MCourse extends MAbstractDescriptor{
   private static final long serialVersionUID = -8391714219733994699L;
   
   public static final String F_CID = "CID";


   @AnnotationRelated(foreign = MCourseCategory.class)
   public int category;
   
   
   @AnnotationRelated(foreign = MCafe.class)
   public int CID;

   
   
   @AnnotationPrice   
   public int price;
   
   
   @AnnotationMultiLangString   
   @AnnotationNoExportIndex
   public Map<InterfaceConstants.LANGS, String> weight2 = new HashMap<LANGS, String>();
   
   @AnnotationMultiLangString
   @AnnotationNotExported
   public Map<InterfaceConstants.LANGS, String> weight2_ = new HashMap<LANGS, String>();
   
   
   @AnnotationIncusiveList(foreign = MIngredient.class)
   public Set<Integer> ingredient = new HashSet<Integer>();
   
   public boolean delivery = false;
}
