package com.boman.system.common;

import org.apache.commons.compress.utils.Lists;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Stream;

/**
 * @author shiqian
 * @date 2021年03月26日 09:47
 **/
public class FormDataConstant {

    /**
     * 删除数据时，需要删除的业务表的主键
     */
    public static final String ID_LIST = "idList";

    /**
     * id标识
     */
    public static final String ID = "id";

    /**
     * 查询的条件
     */
    public static final String CONDITION = "condition";

    /**
     * 查询后需要返回到前台的字段
     */
    public static final String SHOW_DATA = "showData";


    /**
     * equals
     */
    public static final String EQ = "EQ";

    /**
     * like
     */
    public static final String LIKE = "LIKE";

    /**
     * not equals
     */
    public static final String NE = "NE";

    /**
     * greater than
     */
    public static final String GT = "GT";

    /**
     * greater than or equal to
     */
    public static final String GTE = "GTE";

    /**
     * less than
     */
    public static final String LT = "LT";

    /**
     * less than or equal to
     */
    public static final String LTE = "LTE";

    /**
     * between and
     */
    public static final String BETWEEN = "BETWEEN";

    /**
     * 需要转义
     */
    public static final String VARCHAR = "varchar";

    public static final String CHAR = "char";
    public static final String DATETIME = "datetime";
    public static final String TIMESTAMP = "timestamp";

    /**  根据表名查询表单时，返回给前台的查询字段   */
    public static final String QUERY_LIST = "queryList";

    /**  根据表名查询表单时，返回给前台的按钮 (其实不是list而是 "AMDQSUE"的字符串 */
    public static final String BUTTON_LIST = "buttonList";

    /**  根据表名查询表单时，返回给前台列表展示的列*/
    public static final String TABLE_HEAD_LIST = "tableHeadList";

    /**  分页  总条数*/
    public static final String PAGE_TOTAL = "total";

    /**  分页 总记录*/
    public static final String PAGE_ROWS = "rows";



}
