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

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 lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户礼物背包-限制.
 * </p>
 *
 * @author pengshigang
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_gift_backpack_limit")
public class GiftBackpackLimit extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

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

  /**
   * 背包id.
   */
  @TableField("back_id")
  private Long backId;

  /**
   * 礼物类型.
   */
  @TableField("gift_tab")
  private String giftTab;

  /**
   * 限制内容.
   */
  @TableField("content")
  private String content;

}
