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 java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * <p>
 * 宠物喂养DTO.
 * </p>
 *
 * @author xiaofei
 * @since 2024-04-11
 */
@Data
public class PetFeedingRecordDTO implements Serializable {

  private static final long serialVersionUID = 1L;

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

  /**
   * 用户ID
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;

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

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

  /**
   * 喂粮数量
   */
  private BigDecimal feedingNum;

  /**
   * 0.免费喂养 1.正常喂养 2.加速喂养.
   */
  private Integer feedType;

  /**
   * 用户信息.
   */
  private UserBaseInfoDTO userBaseInfo;

  /**
   * 创建用户.
   */
  private Long createUser;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

}
