package cn.axzo.msg.center.notices.common.constans;

/**
 * 缓存常量
 *
 * @author zhaoyong
 * @see CacheConstants
 * @since 2021-08-20 22:54
 */
public abstract class CacheConstants {

  /**
   * 不存在的键存为NA
   */
  public static final String REDIS_NULL_VALUE = "NA";

  /**
   * 空值缓存秒数
   */
  public static final int NULL_VALUE_CACHE_SECONDS = 5 * 60;

  /**
   * 模板参数缓存秒数
   */
  public static final int TEMPLATE_PARAM_CACHE_SECONDS = 7 * 24 * 60 * 60;

  /**
   * 项目名称
   */
  public static final String MNS = "msg-center";
  /**
   * 消息模板
   */
  public static final String MESSAGE_TEMPLATE = "template";

  /**
   * 参数
   */
  public static final String PARAM = "param";

}
