package com.red.circle.other.inner.model.dto.pet;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 解锁条件
 * </p>
 *
 * @author pengliang
 * @since 2021-10-11
 */
@Data
@Accessors(chain = true)
public class PetUnlockConditionDTO implements Serializable {

  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 String conditionType;

  /**
   * 比对单位
   */
  private String unit;

  /**
   * 数量
   */
  private Integer quantity;

}
