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.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户货运账户流水 使用FreightBalanceRunningWaterDTO替换.
 * </p>
 *
 * @author pengliang
 * @since 2021-07-07
 */
@Data
@Deprecated
@Accessors(chain = true)
public class UserFreightBalanceRunningWaterDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

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

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

  /**
   * 接收用户.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long acceptUserId;

  /**
   * 卖家id.
   */
  private Long sellerId;

  /**
   * 类型.
   */
  private Integer type;

  /**
   * 数量.
   */
  private BigDecimal quantity;

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

  /**
   * 金额.
   */
  private BigDecimal amount;

  /**
   * 充值类型.
   */
  private String rechargeType;

  /**
   * 来源.
   */
  private String origin;
  private String originName;

  /**
   * 备注
   */
  private String remark;

  /**
   * 操作用户.
   */
  private String operationUserNickname;

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

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

  private Long createUser;
}
