package tech.easyflow.chatlog.domain.dto;

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

public class ChatHistoryPage implements Serializable {

    private long total;
    private long pageNumber;
    private long pageSize;
    private List<ChatMessageRecord> records = new ArrayList<>();

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public long getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(long pageNumber) {
        this.pageNumber = pageNumber;
    }

    public long getPageSize() {
        return pageSize;
    }

    public void setPageSize(long pageSize) {
        this.pageSize = pageSize;
    }

    public List<ChatMessageRecord> getRecords() {
        return records;
    }

    public void setRecords(List<ChatMessageRecord> records) {
        this.records = records;
    }
}
