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

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

/**
 * @author pengliang on 2022/12/29
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class TeamWaitApplyMessageCO extends ClientObject {

  /**
   * 消息id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long messageId;

  /**
   * 团队资料.
   */
  private TeamProfileCO teamProfile;

  /**
   * 拥有者资料.
   */
  private UserProfileDTO ownUserProfile;

}
