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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import java.io.Serial;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户货运代理充值记录.
 * </p>
 *
 * @author zongpubin on 2023-11-23 12:31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserFreightRechargeRecordDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

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

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

  /**
   * 充值年月(yyyyMM).
   */
  private Integer rechargeDate;

  /**
   * 区域.
   */
  private String regionCode;

  private Timestamp createTime;
  private Timestamp updateTime;
  @JsonSerialize(using = ToStringSerializer.class)
  private Long createUser;
  @JsonSerialize(using = ToStringSerializer.class)
  private Long updateUser;
}
