package com.red.circle.other.inner.model.dto.user;

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>
 * CP申请记录.
 * </p>
 *
 * @author pengliang
 * @since 2022-09-22
 */
@Data
@Accessors(chain = true)
public class UserCpApplyDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 发送申请用户.
   */
  private Long sendApplyUserId;

  /**
   * 接收申请用户.
   */
  private Long acceptApplyUserId;

  /**
   * 发送申请用户
   */
  private UserProfileDTO sendApplyUser;

  /**
   * 接收申请用户
   */
  private UserProfileDTO acceptApplyUser;

  /**
   * 申请消费金币
   */
  private BigDecimal applyConsumeGold;

  /**
   * 申请文案
   */
  private String applyText;

  /**
   * 状态
   */
  private String status;

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

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

}
