This commit is contained in:
ran.shang
2025-12-29 16:06:48 +08:00
parent b853edcfde
commit ee95dfa2c2
1600 changed files with 6997 additions and 7445 deletions

View File

@@ -0,0 +1,67 @@
package com.senmesh.common.constant;
/**
* 公共常量
* @author sr on 2019-12-03
*/
public interface CommonConstants {
/** _(下划线) **/
String UNDERLINE = "_";
/** # **/
String POUND = "#";
/** & **/
String AND = "&";
/** ,(逗号) **/
String COMMA = ",";
/** :(冒号) **/
String COLON = ":";
/** ;(分号) **/
String SEMICOLON = ";";
/** . **/
String POINT = ".";
/** = **/
String EQUAL = "=";
/** ? **/
String QUESTION = "?";
/** -(连字号) **/
String HYPHEN = "-";
/** ...(省略号) **/
String ELLIPSIS = "...";
/** 金额精度:两位 **/
int AMOUNT_SCALE = 2;
/** 金额小数位 **/
int AMOUNT_FRACTION = 2;
/** 金额整数位 **/
int AMOUNT_INTEGER = 14;
/** 项目环境配置key **/
String PROFILE_KEY = "spring.profiles.active";
/** 项目名称 **/
String APPLICATION_NAME_KEY = "spring.application.name";
String SYSTEM_CODE_KEY = "system.code";
/** security是否使用本地方法 **/
String USELOCAL_KEY = "security.useLocal";
/**
* 表字段去空格
*/
String TRIM_TABLE_FIELDS_ENBALE_KEY = "trim.table.fields";
/** 开关键 **/
String ENABLE_KEY = "enable";
String FALSE_STR = "false";
/** 配置值:是 **/
String CONFIG_TRUE = "1";
/** 配置值:否 **/
String CONFIG_FALSE = "0";
/** 平台机构id **/
Long PLATFORM_ORG_ID = 1L;
}