package com.red.circle.console.app.dto.clienobject.gm;

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

/**
 * GM金币操作申请.
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GmGoldOperationCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

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

  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;

  private String sysOrigin;

  private Integer operationType;

  private String operationName;

  private BigDecimal quantity;

  private Integer reasonType;

  private String reasonName;

  private BigDecimal usdQuantity;

  private String remarks;

  private String status;

  private String statusName;

  @JsonSerialize(using = ToStringSerializer.class)
  private Long applicantId;

  private String applicantName;

  @JsonSerialize(using = ToStringSerializer.class)
  private Long reviewerId;

  private String reviewerName;

  private String reviewRemark;

  private String trackId;

  private Timestamp reviewTime;

  private Timestamp executedTime;

  private Timestamp createTime;

  private Timestamp updateTime;

  private UserProfileDTO userProfile;
}
