package com.writeoff.module.system.model;

import java.util.List;

public class GlobalSearchResult {
    private final String keyword;
    private final int total;
    private final List<GlobalSearchGroup> groups;

    public GlobalSearchResult(String keyword, int total, List<GlobalSearchGroup> groups) {
        this.keyword = keyword;
        this.total = total;
        this.groups = groups;
    }

    public String getKeyword() {
        return keyword;
    }

    public int getTotal() {
        return total;
    }

    public List<GlobalSearchGroup> getGroups() {
        return groups;
    }
}
