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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 宠物阶段.
 * </p>
 *
 * @author pengshigang
 * @since 2021-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PetStageCO extends ClientObject {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 归属系统.
   */
  private String sysOrigin;

  /**
   * 宠物ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long petId;

  /**
   * 宠物等级.
   */
  private Integer level;

  /**
   * 宠物阶段信息.
   */
  private String stage;

  /**
   * 宠物封面.
   */
  private String cover;

  /**
   * 宠物资源图.
   */
  private String sourceUrl;

  /**
   * 升级喂养次数.
   */
  private Integer upgradeFeedingNum;

  /**
   * 喂养粮食数.
   */
  private BigDecimal foodFeedingNum;

  /**
   * 产生收益.
   */
  private BigDecimal revenue;

  /**
   * 产生收益数量（收益时间/this）.
   */
  private Integer revenueNum;

  /**
   * 产生收益间隔分钟.
   */
  private Integer revenueIntervalMinute;

  /**
   * 喂食间隔分钟.
   */
  private Integer feedingIntervalMinute;

  /**
   * 免费喂食次数.
   */
  private Integer freeFeedingNum;

  /**
   * 加速喂养粮食数.
   */
  private BigDecimal accelerateFeed;

}
