package com.red.circle.wallet.app.dto.clientobject;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 经销商卖家信息
 *
 * @author zongpubin on 2023/7/18
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class FreightSellerCO extends ClientObject {

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

  /**
   * 经销商授权额度.
   */
  private BigDecimal earnGold;

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

  /**
   * 创建时间
   */
  private Date createTime;

  /**
   * 用户资料.
   */
  private UserProfileDTO userProfile;
}
