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

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 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("activity_friendship_card_champion")
public class ActivityFriendshipCardChampion extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

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

  /**
   * 夺冠次数.
   */
  @TableField("champion_frequency")
  private Integer championFrequency;


}
