123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package com.boman.common.redis;
- /**
- * @author shiqian
- * @date 2021年03月26日 13:25
- **/
- public class RedisKey {
- /**
- * 建表的信息存在redis中的key
- * eg: table:tableName
- */
- public static final String TABLE_INFO = "table:";
- /**
- * 维护redis中每张表的sequence
- */
- public static final String SEQ = "SEQ:";
- /**
- * 主表关联的附表存在redis中的key
- * eg: relation:tableName
- */
- public static final String RELATION = "relation:";
- /**
- * gen_table_relation中的数据存到redis中的key
- */
- public static final String RELATION_INFO = "relation:info";
- /**
- * 单据的seq
- */
- public static final String BILL_SQE = "BILL:SEQ:";
- public static final String USER_OPPEN_ID_AND_SESSION_KEY_PREFIX = "openId:sessionKey:";
- /**
- * 幂等性标识
- */
- public static final String IDEMPOTENT = "IDEMPOTENT:";
- }
|