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

/**
 * <p>
 * 道具发送日志.
 * </p>
 *
 * @author pengshigang
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("props_send_log")
public class PropsSendLog extends TimestampBaseEntity {

  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("group_id")
  private Long groupId;

  /**
   * 类型.
   */
  @TableField("type")
  private String type;

  /**
   * 明细类型.
   */
  @TableField("detail_type")
  private String detailType;

  /**
   * 内容.
   */
  @TableField("content")
  private String content;

  /**
   * 数量.
   */
  @TableField("quantity")
  private Integer quantity;

  /**
   * 来源.
   */
  @TableField("origin")
  private String origin;

}
