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

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

/**
 * <p>
 * 活动房间特殊麦位.
 * </p>
 *
 * @author zongpubin
 * @since 2023-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_mike_type")
public class RoomMikeType extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

  /**
   * 麦位类型.
   */
  @TableField("mike_type")
  private String mikeType;

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

  /**
   * 过期类型.
   */
  @TableField("expire_type")
  private String expireType;

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

  /**
   * 道具购买金币.
   */
  @TableField("props_candy")
  private BigDecimal propsCandy;

}
