package com.red.circle.console.infra.database.rds.entity.app.vip;

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

/**
 * 用户道具流水.
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("running_water_user_props")
public class RunningWaterUserProps extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  @TableField("user_id")
  private Long userId;

  @TableField("props_id")
  private Long propsId;

  @TableField("props_candy")
  private BigDecimal propsCandy;

  @TableField("type")
  private String type;

  @TableField("origin")
  private String origin;

  @TableField("days")
  private Integer days;

  @TableField("origin_desc")
  private String originDesc;
}
