package kz.cafe.db;

import java.util.*;

public class Constraint implements java.io.Serializable{
   private static final long serialVersionUID = 1544910410522012283L;
   
   public List<Criterion> criteria = new ArrayList<Criterion>();
   
   
   public static class Criterion implements java.io.Serializable{
      private static final long serialVersionUID = -3360640263019073026L;
      
      public String field;
      public Object value;
      
      public Criterion(String field, Object value){
         this.field = field;
         this.value = value;
      }
   }
}
