Files
senmesh-zc/src/main/java/com/newyetai/common/constant/CommonConstants.java

68 lines
1.4 KiB
Java
Raw Normal View History

2025-06-11 09:42:13 +08:00
package com.newyetai.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";
2025-12-23 17:40:32 +08:00
String SYSTEM_CODE_KEY = "system.code";
2025-06-11 09:42:13 +08:00
/** 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;
}