package com.red.circle.console.app.dto.clienobject.family;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
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 FamilyBaseInfoCO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;


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

  /**
   * 来源系统.
   */
  private String sysOrigin;

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

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

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

  /**
   * 家族等级ID.
   */
  private Long familyLevelId;

  /**
   * 家族状态.
   */
  private String familyStatus;

  /**
   * 家族公告.
   */
  private String familyNotice;

  /**
   * 家族成员数量.
   */
  private Long memberCount;

  /**
   * 等级key.
   */
  private String levelKey;

  /**
   * 贡献值
   */
  private BigDecimal familyExp;

  /**
   * 家族族长信息
   */
  private UserProfileDTO userBaseInfo;

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

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

  private Long createUser;
}
