package com.red.circle.other.app.dto.clientobject.user.user;

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

/**
 * @author zongpubin on 2023/11/14
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class ConfessionRecordCO extends ClientObject {

  private static final long serialVersionUID = 1L;

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

  /**
   * 告白机会id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long confessionChanceId;

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

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

  /**
   * 告白对象用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long confessionUserId;

  /**
   * 用户头像.
   */
  private String userAvatar;

  /**
   * 用户昵称.
   */
  private String userNickname;

  /**
   * 告白对象的用户头像.
   */
  private String confessionUserAvatar;

  /**
   * 告白对象的用户昵称.
   */
  private String confessionUserNickname;

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

  /**
   * 内容.
   */
  private String content;


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

}
