package com.imprimelibros.erp.datatables;

import java.util.List;

public class DataTablesResponse<T> {
    public int draw;
    public long recordsTotal;
    public long recordsFiltered;
    public List<T> data;

    public DataTablesResponse(int draw, long total, long filtered, List<T> data) {
        this.draw = draw;
        this.recordsTotal = total;
        this.recordsFiltered = filtered;
        this.data = data;
    }
}
