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

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.Data;
import lombok.experimental.Accessors;

/**
 * 家族动态CO
 */
@Data
@Accessors(chain = true)
public class FamilyNewsCO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 动态ID
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 动态类型
   */
  private String newsType;

  /**
   * 操作人用户ID
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long operatorId;

  /**
   * 操作人昵称
   */
  private String operatorName;

  /**
   * 目标用户ID
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long targetUserId;

  /**
   * 目标用户昵称
   */
  private String targetUserName;

  /**
   * 动态内容文本
   */
  private String content;

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

}
