package com.red.circle.order.infra.database.rds.entity.order;

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;

/**
 * <p>
 * 其他充值订单
 * </p>
 *
 * @author pengliang
 * @since 2022-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("order_other_recharge")
public class OrderOtherRecharge extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 用户ID.
   */
  @TableField("user_Id")
  private Long userId;

  /**
   * 平台.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 支付类型.
   */
  @TableField("payment_type")
  private String paymentType;

  /**
   * 数量
   */
  @TableField("amount")
  private BigDecimal amount;

  /**
   * 支付时间
   */
  @TableField("payment_date_number")
  private Integer paymentDateNumber;

  /**
   * 支付时间
   */
  @TableField("remarks")
  private String remarks;

}
