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 com.red.circle.framework.dto.ClientObject;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户在家族中的基本信息.
 * </p>
 *
 * @author pengshigang
 * @since 2021-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FamilyUserInfoCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 家族ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long familyId;

  /**
   * 家族账号.
   */
  private String familyAccount;

  /**
   * 家族头像.
   */
  private String familyAvatar;

  /**
   * 家族名称.
   */
  private String familyName;

  /**
   * 当前用户在家族的角色.
   */
  private String familyRole;

  /**
   * 等级
   */
  private Integer level;

  /**
   * 当前成员数.
   */
  private Integer currentMember;

  /**
   * 最大成员数.
   */
  private Integer maxMember;

  /**
   * 等级背景图.
   */
  private String levelBackgroundPicture;

  /**
   * 头像框.
   */
  private String avatarFrameCover;

  /**
   * 头像框效果.
   */
  private String avatarFrameSvg;

  /**
   * 徽章.
   */
  private String badgeCover;

  /**
   * 徽章效果.
   */
  private String badgeSvg;


}
