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

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

/**
 * <p>
 * 用户赠送道具.
 * </p>
 *
 * @author zongpubin on 2023-04-10 17:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("props_give_away_user")
public class PropsGiveAwayUser extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

  /**
   * 发送用户id.
   */
  @TableField("send_user_id")
  private Long sendUserId;

  /**
   * 接收用户id.
   */
  @TableField("accept_user_id")
  private Long acceptUserId;

  /**
   * 道具id.
   */
  @TableField("props_id")
  private Long propsId;

  /**
   * 过期时间.
   */
  @TableField("expire_time")
  private Timestamp expireTime;

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


}
