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.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * GM VIP赠送记录.
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GmVipGiftCO 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 fromLevel;

  private String fromLevelName;

  private Integer vipLevel;

  private String levelCode;

  private String displayName;

  private Integer durationDays;

  private Long priceGold;

  private Timestamp startAt;

  private Timestamp expireAt;

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

  private String eventId;

  private String status;

  private String statusName;

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

  private String applicantName;

  private String remarks;

  private Timestamp executedTime;

  private Timestamp createTime;

  private Timestamp updateTime;

  private UserProfileDTO userProfile;
}
