package com.red.circle.game.fruit.infrastructure.database.entity;

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

/**
 * <p>
 * 摩天轮游戏任务领取用户.
 * </p>
 *
 * @author zongpubin on 2023-12-15 15:05
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("game_fruit_user_task_receive")
public class GameFruitUserTaskReceive extends BaseEntity {

  @Serial
  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("award_id")
  private Long awardId;


  /**
   * 领取年月日(yyyyMMdd).
   */
  @TableField("receive_date")
  private Integer receiveDate;


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


}
