package com.red.circle.other.infra.database.rds.entity.pet;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.math.BigDecimal;
import java.sql.Timestamp;
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)
@TableName("pet_user_pet_bag")
public class PetUserPetBag extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @TableId(value = "id", type = IdType.INPUT)
  private Long id;

  /**
   * 用户ID.
   */
  @TableField("user_id")
  private Long userId;

  /**
   * 宠物ID.
   */
  @TableField("pet_id")
  private Long petId;

  /**
   * 喂食次数.
   */
  @TableField("feeding_num")
  private Integer feedingNum;

  /**
   * 消费粮食.
   */
  @TableField("consume_food")
  private BigDecimal consumeFood;

  /**
   * 宠物阶段.
   */
  @TableField("pet_stage")
  private String petStage;

  /**
   * 宠物阶段Id.
   */
  @TableField("pet_stage_id")
  private Long petStageId;

  /**
   * 最近喂食时间.
   */
  @TableField("latest_feeding_time")
  private Timestamp latestFeedingTime;

}
