package com.red.circle.console.app.dto.clienobject.app.activity.cp;

import com.red.circle.framework.dto.ClientObject;
import java.io.Serial;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 常驻 CP 配置.
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class ResidentCpConfigCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

  private Boolean configured = Boolean.FALSE;

  private String sysOrigin;

  private List<ResidentCpLevelConfigCO> levels = new ArrayList<>();

  /**
   * Relation dismiss gold config. Key: CP/BROTHER/SISTERS.
   */
  private Map<String, Long> dismissConsumeGolds = new LinkedHashMap<>();
}
