package com.ffii.core.utils;

/** @author Alex */
public abstract class Params {
  public static final String ERROR = "error";

  public static final String SUCCESS = "success";
  public static final String DATA = "data";
  public static final String RECORDS = "records";
  public static final String TOTAL = "total";

  public static final String ID = "id";
  public static final String CODE = "code";
  public static final String NAME = "name";
  public static final String TYPE = "type";
  public static final String MSG = "msg";
  public static final String MSG_CODE = "msgCode";
  public static final String MESSAGES = "messages";
  public static final String FROM = "from";
  public static final String TO = "to";

  // sql
  public static final String QUERY = "query";

  // pagin
  public static final String PAGE = "page";
  public static final String START = "start";
  public static final String LIMIT = "limit";

  // filter
  public static final String FILTER = "filter";
  public static final String OPERATOR = "operator";
  public static final String LIKE = "like";
  public static final String PROPERTY = "property";

  // sort
  public static final String SORT = "sort";
  public static final String DIRECTION = "direction";

  public static final String VALUE = "value";

}
