package com.red.circle.wallet.inner.model.dto;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户豆子余额.
 * </p>
 *
 * @author pengshigang
 * @since 2021-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BeanBalanceDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 用户id.
   */
  private Long userId;

  /**
   * 归属系统.
   */
  private String sysOrigin;

  /**
   * 获得数量.
   */
  private BigDecimal earnPoints;

  /**
   * 消费数量.
   */
  private BigDecimal consumptionPoints;

  /**
   * 余额.
   */
  private BigDecimal balance;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;
}
