package com.red.circle.other.app.dto.clientobject.activity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 代理主播活动.
 *
 * @author pengshigang on 2023/3/10
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ActivityAgentAnchorContentCO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 规则.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long ruleId;

  /**
   * 数量.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long quantity;

}
