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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 房间支持活动-领取金额记录.
 * </p>
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class AgentActivityBackCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * id.
   */
  String id;

  /**
   * 用户资料.
   */
  private UserProfileDTO userProfile;

  /**
   * 区域ID.
   */
  String regionId;

  /**
   * 区域.
   */
  String regionName;

  /**
   * 目标值.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  Long target;

  /**
   * 时间(年月日).
   */
  Integer dateNumber;

  /**
   * 类型:WEEK,MONTH
   */
  String group;

  /**
   * 类型
   */
  String groupName;

}
