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 java.math.BigDecimal;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户友谊关系卡 - 活动往日周历史记录.
 * </p>
 *
 * @author pengshigang
 * @since 2022-07-12
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("activity_friendship_card_history")
public class ActivityFriendshipCardHistory extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

  /**
   * 系统.
   */
  @TableField("sys_origin")
  private String sysOrigin;

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

  /**
   * 用户2.
   */
  @TableField("two_user_id")
  private Long twoUserId;

  /**
   * 卡片类型.
   */
  @TableField("card_type")
  private String cardType;

  /**
   * 获得冠军时间段.
   */
  @TableField("period")
  private String period;

  /**
   * 夺冠友谊值.
   */
  @TableField("quantity")
  private BigDecimal quantity;


}
