/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/

package com.rebuild.core.metadata.impl;

/**
 * @author devezhao
 * @since 2021/7/22
 */
public class EasyEntityConfigProps {

    /**
     * 快速查询字段
     */
    public static final String QUICK_FIELDS = "quickFields";
    /**
     * 实体分类
     */
    public static final String TAGS = "tags";
    /**
     * 明细不允许为空
     */
    public static final String DETAILS_NOTEMPTY = "detailsNotEmpty";
    /**
     * 明细重复判断模式为全部数据（否则为主记录下的）
     */
    public static final String DETAILS_GLOBALREPEAT = "detailsGlobalRepeat";
    /**
     * 明细显示位置
     */
    public static final String DETAILS_SHOWAT2 = "detailsShowAt2";
    /**
     * 明细复制按钮
     */
    public static final String DETAILS_COPIABLE = "detailsCopiable";
    /**
     * 显示顺序
     */
    public static final String DETAILS_SEQ = "detailsSeq";
    /**
     * 显示/隐藏方式
     */
    public static final String DETAILS_HIDE = "detailsHide";

    /**
     * 隐藏常用查询面板
     */
    public static final String ADVLIST_HIDE_FILTERS = "advListHideFilters";
    /**
     * 隐藏图表面板
     */
    public static final String ADVLIST_HIDE_CHARTS = "advListHideCharts";
    /**
     * 列表模式
     */
    public static final String ADVLIST_MODE = "advListMode";
    /**
     * 列表分类
     */
    public static final String ADVLIST_SHOWCATEGORY = "advListShowCategory";
    /**
     * 列表查询面板
     */
    public static final String ADVLIST_FILTERPANE = "advListFilterPane";
    /**
     * 列表查询页签
     */
    public static final String ADVLIST_FILTERTABS = "advListFilterTabs";
    /**
     * 重复字段检查模式 (AND/OR)
     */
    public static final String REPEAT_FIELDS_CHECK_MODE = "repeatFieldsCheckMode";
    /**
     * 禁用视图单字段编辑
     */
    public static final String DISABLED_VIEW_EDITABLE = "disabledViewEditable";
    /**
     * 隐藏详情页侧栏
     */
    public static final String HIDE_VIEW_ASIDE = "hideViewAside";
    /**
     * 启用列表单字段编辑
     */
    public static final String ENABLED_LIST_EDITABLE41 = "enabledListEditable";

    /**
     * 启用记录合并（还需配合权限）
     */
    public static final String ENABLE_RECORD_MERGER = "enableRecordMerger";

    /**
     * 详情模式:字段
     */
    public static final String ADVLIST_MODE2_SHOWFIELDS = "mode2ShowFields";
    /**
     * 详情模式:树形菜单:父级
     */
    public static final String ADVLIST_MODE2_ENABLETREEPARENTFIELD = "mode2EnableTreeParentField";
    /**
     * 详情模式:树形菜单:顶级
     */
    public static final String ADVLIST_MODE2_ENABLETREEGROUPFIELD = "mode2EnableTreeGroupField";
    /**
     * 卡片模式:字段
     */
    public static final String ADVLIST_MODE3_SHOWFIELDS = "mode3ShowFields";
    /**
     * @see #ADVLIST_HIDE_FILTERS
     */
    public static final String ADVLIST_MODE3_SHOWFILTERS = "mode3ShowFilters";
    /**
     * @see #ADVLIST_HIDE_CHARTS
     */
    public static final String ADVLIST_MODE3_SHOWCHARTS = "mode3ShowCharts";
    /**
     * @see #ADVLIST_SHOWCATEGORY
     */
    public static final String ADVLIST_MODE3_SHOWCATEGORY = "mode3ShowCategory";
    /**
     * 列表侧栏显示样式
     */
    public static final String ADVLIST_ASIDE_SHOWS = "advListAsideShows";

    /**
     * 日历开始时间
     */
    public static final String ADVLIST_MODE4_FIELDOFSTART = "mode4FieldOfStart";
    /**
     * 日历结束时间
     */
    public static final String ADVLIST_MODE4_FIELDOFEND = "mode4FieldOfEnd";
    /**
     * 日历显示
     */
    public static final String ADVLIST_MODE4_FIELDOFTITLE = "mode4FieldOfTitle";
    /**
     * 日历显示颜色
     */
    public static final String ADVLIST_MODE4_FIELDOFCOLOR = "mode4FieldOfColor";
}
