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 com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serial;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户黑名单.
 * </p>
 *
 * @author pengshigang
 * @since 2021-8-4
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UserBlacklistCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 用户资料.
   */
  private UserProfileDTO userProfile;

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

}
