package com.red.circle.other.infra.database.cache.key;

/**
 * 活动业务相关.
 *
 * @author pengliang on 2021/11/11
 */
public enum ActivityKeys {

  /**
   * 周星周倒计时.
   */
  AGENT_ACTIVITY_WEEK_COUNT_DOWN,

  /**
   * 周星倒计时.
   */
  WEEK_COUNT_DOWN,

  /**
   * 周星开始结束时间.
   */
  WEEK_STAR_START_END_DATE,

  /**
   * 周星月倒计时.
   */
  AGENT_ACTIVITY_MONTH_COUNT_DOWN,

  /**
   * 国王/王后倒计时.
   */
  KQ_COUNT_DOWN,

  /**
   * 房间粉丝人气票活动倒计时.
   */
  ROOM_FAN_VOTES_ACTIVITY_IN_COUNT_DOWN,
  ROOM_FAN_VOTES_ACTIVITY_ID_COUNT_DOWN,
  ROOM_FAN_VOTES_ACTIVITY_AR_COUNT_DOWN,

  /**
   * 进行中的 activity_config 列表（key属小：sysOrigin）.
   */
  ACTIVITY_CONFIG_ONGOING_LIST,

  /**
   * 指定类型的进行中 activity_config（key属小：sysOrigin:activityType）.
   */
  ACTIVITY_CONFIG_ONGOING_BY_TYPE,
  ;


  public String getKey(String name) {
    return this.name().concat(":").concat(name);
  }

  public String getKey(String key1, String key2) {
    return this.name().concat(":").concat(key1).concat(":").concat(key2);
  }
}
