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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户工资钻石账户.
 *
 * @author zongpubin on 2024/3/14
 */

@Data
@Accessors(chain = true)
public class SalaryDiamondBalanceDTO implements Serializable {

  /**
   * id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;

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

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

  /**
   * 获得总额.
   */
  private BigDecimal earnPoints;

  /**
   * 消费总额.
   */
  private BigDecimal consumptionPoints;

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

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


}
