package cn.com.liandisys.ycjt.ggcx.admin.utils;

public class SearchFilter {

	public enum Operator {
		EQ, LIKE, LIKE_L, LIKE_R, GT, LT, GTE, LTE,
		/** IS NULL */
		NL,
		/** IS NOT NULL */
		NNL,
		/**
		 * NOT EQUAL
		 */
		NEQ
	}

	public String fieldName;
	public Object value;
	public Operator operator;

	public SearchFilter(String fieldName, Operator operator, Object value) {
		this.fieldName = fieldName;
		this.value = value;
		this.operator = operator;
	}
}
