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 java.io.Serializable;
import java.sql.Timestamp;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


/**
 * <p>
 * 告白机会.
 * </p>
 *
 * @author zongpubin on 2023-11-14 15:45
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ConfessionChanceCO implements Serializable {

  private static final long serialVersionUID = 1L;

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


  /**
   * 告白礼物id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long giftId;

  /**
   * 系统平台.
   */
  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 cover;

  /**
   * 有效期.
   */
  private Timestamp expiredTime;




}
