package com.red.circle.other.inner.model.dto.activity.rule;

import com.red.circle.tool.core.json.JacksonUtils;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 摩天轮游戏人物.
 *
 * @author zongpubin on 2023/12/12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameFruitTaskContent implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 数量.
   */
  private Long quantity;

  /**
   * 上下架.
   */
  private Boolean status;

  public static GameFruitTaskContent serializable(String content) {
    return JacksonUtils.readValue(content, GameFruitTaskContent.class);
  }

}
