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 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 PetPoolCO extends ClientObject {

  private static final long serialVersionUID = 1L;

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

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

  /**
   * 宠物Code.
   */
  private String petCode;

  /**
   * 宠物名称.
   */
  private String petName;

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

  /**
   * 养成奖励.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long rewardGroupId;

  /**
   * 0.下架 1.上架.
   */
  private Boolean shelf;

}
