package com.huigou.uasp.util;

public class Constant {
	
	public static final String ID_NOT_BLANK = "ID不能为空。";
	public static final String FOLDER_ID_NOT_BLANK = "文件夹ID不能为空。";
	public static final String FILE_NAME_NOT_BLANK = "文件名不能为空。";
	public static final String CODE_NOT_BLANK = "编码不能为空。";
	public static final String NAME_NOT_BLANK = "名称不能为空。";
	public static final String BIZ_CODE_NOT_BLANK = "业务编码不能为空。";
	public static final String STATUS_NOT_BLANK = "状态不能为空。";
	public static final String OBJECT_NOT_NULL = "对象不能为空。";
	public static final String NEW_DATA_NOT_NULL = "未选择复制的数据。";
	public static final String REPOSITORY_NOT_NULL = "资料库不能为空。";
	public static final String PARENT_ID_NOT_BLANK = "父ID不能为空。";
	public static final String PARENT_ID_FIELD_NAME_NOT_BLANK = "父ID不能为空。";
	public static final String TABLE_NAME_NOT_BLANK = "表名不能为空。";
	public static final String NODE_KIND_ID_NOT_BLANK = "节点ID不能为空。";
	public static final String CODE_NOT_DUPLICATE = "编码不能重复。";
	public static final String NAME_NOT_DUPLICATE = "名称不能重复。";
	public static final String OBJECT_NOT_FOUND_BY_ID = "未找到ID“%s”对应的%s数据。";
	public static final String OBJECT_NOT_FOUND_BY_CODE = "未找到编码“%s”对应的%s数据。";
	public static final String OBJECT_NOT_FOUND_BY_BIZ_ID = "未找到业务ID“%s”对应的%s数据。";
	public static final String OBJECT_NOT_FOUND_BY_TASK_ID = "未找到业务ID“%s”对应的%s数据。";
	public static final String CAN_NOT_DELETE_HAS_CHILDREN = "节点“%s”存在子节点，不能删除。";
	public static final String NOT_DEFINITION_COMMON_TREE = "不能识别树结构类型。";
	public static final String CAN_NOT_DELETE_REFERENCED_BY_BIZ = "存在业务数据不能删除。";
	public static final String IDS_EXIST_INVALID_ID = "“%s”ID列表中存在无效的ID。";
	public static final String OBJECT_REFERENCED_BY_WHO = "“%s”已被“%s”引用，不能删除。";
	public static final String ID_FIELD_NAME = "id";
	public static final String IDS_FIELD_NAME = "ids";
	public static final String STATUS_FIELD_NAME = "status";
	public static final String PARENT_ID_FIELD_NAME = "parentId";
	public static final String FOLDER_ID_FIELD_NAME = "folderId";
	public static final String PARENT_ID_COLUMN_NAME = "parent_id";
	public static final String PROJECT_FUND_BY_ID="已经存在项目编号【%s】，不能重复添加。";
	public static final String MENU_CODE_EXIST="当前功能菜单编码已经存在！";
	
	public static final String TaskNodeOrPropertyClass_NotExist = "当前任务节点或属性类别已经不存在！";
	public static final String MUST_SAVE_MAIN_DATA="请先保存主表数据！";
	public static final String ADD_DETAIL_DATA="明细数据不完整！";
	public static final String SELECT_DETAIL_DATA="请先选择明细数据！";
	public static final String NOT_DELETE_ENBABLE_DATA="不能删除启用状态的数据！";
	public static final String ENBABLE_TIP="已经启用！";
	public static final String ENBABLE_SUCCESS="启用成功！";
	public static final String DISABLE_TIP="已经禁用！";
	public static final String DISABLE_SUCCESS="禁用成功！";
	public static final String SYSMBOL_LINE="\r\n";
	public static final String NOT_DATA_DETAIL_TABLE="表不存在！";
	public static final String NOT_ATTRIBUTE_MODEL="当前模型没有配置属性！";
	
	public static final String REPEAT_SERVICE="存在重复的服务！";
	public static final String PUSH_SETTINGS ="当前系统该模型的推送方式已经存在！";
	
	public static final String SERVICE_HASNOT_MODEL="服务未配置主数据模型!";
	public static final String MODEL_HASNOT_UNQUEFIELD="当前主数据模型未配置唯一字段!";
	public static final String SERVICE_MODEL_HASNOT_ATTRIBUTES="当前服务的该模型未进行属性授权!";
	
	public static final String PAGEDETAIL_COLS = "3";  //编辑页面 默认显示标签数 
	public static final String LABEL_COLS = "2";  //编辑页面 LABEL默认显示占列数 
	public static final String FIELD_COLS = "3";  //编辑页面 FIELD默认显示占列数  
	public static final String TEXTAREA_ROWS = "3";  //编辑页面 TEXTAREA默认显示占行列数  
	
	public static final String INPUT_TAG = "text";  //标签类型
	public static final String SELECT_TAG = "select";  
	public static final String DATE_TAG = "date";
	public static final String TEXTAREA_TAG = "textarea";
	public static final String RADIOS_TAG = "radio";
	public static final String CHECKBOX_TAG = "checkbox";  
	public static final String EASYSEARCH_TAG = "easy_search";  
	
	
	public static final String DATASOURCETYPE_NO = "1";  
	public static final String DATASOURCETYPE_SQL= "2";
	public static final String DATASOURCETYPE_DICT = "3";
	public static final String DATASOURCETYPE_FIX= "4";
	
	public static final String ADD_BUTTON = "add";
	public static final String ADD_BUTTON_ROW = "addRow";
	public static final String SAVE_BUTTON_ROW = "saveRow";
	public static final String DELETE_BUTTON_ROW = "deleteRow";
	public static final String ENABLE_BUTTON_ROW = "enableRow";
	public static final String DISABLE_BUTTON_ROW = "disableRow";
	
	public static final String DELETE_BUTTON = "delete";
	public static final String UPDATE_BUTTON = "update";
	public static final String VIEW_BUTTON = "view";
	public static final String ENABLE_BUTTON = "enable";
	public static final String DISABLE_BUTTON = "disable";
	public static final String CUSTOM_BUTTON = "custom";
	public static final String EXPORTEXCEL_BUTTON = "exportExcel";
	
	
	public static final String BUILD_APPLICATION = "application";
	public static final String BUILD_CONTROLLER = "controller";
	public static final String BUILD_ENTITY = "entity";
	public static final String BUILD_PAGEDETAIL = "pageDetail";
	public static final String BUILD_PAGEEXTENDDETAIL = "pageExtendDetail";
	public static final String BUILD_PAGEJS = "pageJS";
	public static final String BUILD_PAGELIST = "pageList";
	public static final String BUILD_QUERYREQUEST = "queryRequest";
	public static final String BUILD_REPOSITORY = "repository";
	public static final String BUILD_XML = "xml";

	public static final String READ_WRITE = "readwrite";
	public static final String READ_ONLY = "readonly";
	public static final String NO_ACCESS = "noaccess";

}
