/*
 * Ant Group
 * Copyright (c) 2004-2024 All Rights Reserved.
 */
package org.jeecg.modules.database.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author lise
 * @version DocumentHome.java, v 0.1 2024年11月14日 18:14 lise
 */
@Getter
@Setter
public class DocumentHome implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "我的收藏")
    private List<DocumentFavorites>            favorite;
    @Schema(description = "最新文档")
    private List<DocumentLibrary>              latest;
    @Schema(description = "最近访问")
    private List<DocumentLibrary>              recently;
    @Schema(description = "文档总计")
    private Long                               total;
    @Schema(description = "今日新增")
    private Long                               today;
    @Schema(description = "分类文档")
    private Map<String, List<DocumentLibrary>> category;

}