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

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 java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 动态-礼物.
 *
 * @author pengshigang
 * @since 2025-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dynamic_gift")
public class DynamicGift implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * ID.
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 动态内容ID.
   */
  @TableField("dynamic_content_id")
  private Long dynamicContentId;

  /**
   * 礼物ID.
   */
  @TableField("gift_id")
  private Long giftId;

  /**
   * 礼物数量.
   */
  @TableField("gift_quantity")
  private Integer giftQuantity;

  /**
   * 礼物URL.
   */
  @TableField("gift_url")
  private String giftUrl;

  /**
   * 单个礼物价值.
   */
  @TableField("gift_unit_price")
  private BigDecimal giftUnitPrice;

  /**
   * 创建时间.
   */
  @TableField("create_time")
  private Timestamp createTime;

  /**
   * 创建用户.
   */
  @TableField("create_user")
  private Long createUser;

  /**
   * 修改时间.
   */
  @TableField("update_time")
  private Timestamp updateTime;

  /**
   * 修改用户.
   */
  @TableField("update_user")
  private Long updateUser;

}
