All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.diboot.core.config.Cons Maven / Gradle / Ivy

/*
 * Copyright (c) 2015-2020, www.dibo.ltd ([email protected]).
 * 

* Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at *

* https://www.apache.org/licenses/LICENSE-2.0 *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ package com.diboot.core.config; /** * 基础常量定义 * @author [email protected] * @version 2.0 * @date 2019/01/01 */ public class Cons { /** * 默认字符集UTF-8 */ public static final String CHARSET_UTF8 = "UTF-8"; /** * 逗号分隔符 , */ public static final String SEPARATOR_COMMA = ","; /** * 下划线分隔符_ */ public static final String SEPARATOR_UNDERSCORE = "_"; /** * 排序 - 降序标记 */ public static final String ORDER_DESC = "DESC"; /** * 逻辑删除列名 */ public static final String COLUMN_IS_DELETED = "is_deleted"; /*** * 默认字段名定义 */ public enum FieldName{ /** * 主键属性名 */ id, /** * 默认的上级ID属性名 */ parentId, /** * 子节点属性名 */ children, /** * 逻辑删除标记字段 */ deleted, /** * 创建时间字段 */ createTime, /** * 更新时间 */ updateTime, /** * 创建人 */ createBy } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy