package com.red.circle.console.infra.database.mongo.admin.entity;

import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 后台管理， 用户 dashboard
 *
 * @author pengliang on 2022/7/12
 */
@Data
@Accessors(chain = true)
@Document("back_dashboard")
public class BackDashboard implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 用户ID.
   */
  @Id
  private String id;

  /**
   * 主题.
   */
  private String theme;

  /**
   * 最近预览.
   */
  private List<BackDashboardNavigation> recentPreviews;

  /**
   * 自定义导航.
   */
  private List<BackDashboardNavigation> customNavigations;

}
