package com.eactive.eai.rms.onl.dashboard.modern.dto;

import java.util.List;

/**
 * Socket Process DTO for modern dashboard
 */
public class SocketProcessDTO {

    private JsonPageVoDTO jsonPageVo;
    private int total;
    private int page;
    private int records;
    private List<SocketProcessItemDTO> rows;

    public SocketProcessDTO() {
    }

    public JsonPageVoDTO getJsonPageVo() {
        return jsonPageVo;
    }

    public void setJsonPageVo(JsonPageVoDTO jsonPageVo) {
        this.jsonPageVo = jsonPageVo;
    }

    public int getTotal() {
        return total;
    }

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

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRecords() {
        return records;
    }

    public void setRecords(int records) {
        this.records = records;
    }

    public List<SocketProcessItemDTO> getRows() {
        return rows;
    }

    public void setRows(List<SocketProcessItemDTO> rows) {
        this.rows = rows;
    }

    /**
     * JsonPageVo DTO
     */
    public static class JsonPageVoDTO {
        private int page;
        private int totalCount;
        private int rows;
        private int total;
        private int startNum;
        private int endNum;

        public JsonPageVoDTO() {
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getRows() {
            return rows;
        }

        public void setRows(int rows) {
            this.rows = rows;
        }

        public int getTotal() {
            return total;
        }

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

        public int getStartNum() {
            return startNum;
        }

        public void setStartNum(int startNum) {
            this.startNum = startNum;
        }

        public int getEndNum() {
            return endNum;
        }

        public void setEndNum(int endNum) {
            this.endNum = endNum;
        }
    }

    /**
     * Socket Process Item DTO
     */
    public static class SocketProcessItemDTO {
        private String maxConnection;
        private String status;
        private String eaiSevrInstncName;
        private String adptrBzwkGroupName;
        private String currentConnection;
        private String recvCount;
        private String adptrBzwkName;
        private String adptrBzwkDesc;
        private String sendCount;
        private String errorCount;

        public SocketProcessItemDTO() {
        }

        public String getMaxConnection() {
            return maxConnection;
        }

        public void setMaxConnection(String maxConnection) {
            this.maxConnection = maxConnection;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getEaiSevrInstncName() {
            return eaiSevrInstncName;
        }

        public void setEaiSevrInstncName(String eaiSevrInstncName) {
            this.eaiSevrInstncName = eaiSevrInstncName;
        }

        public String getAdptrBzwkGroupName() {
            return adptrBzwkGroupName;
        }

        public void setAdptrBzwkGroupName(String adptrBzwkGroupName) {
            this.adptrBzwkGroupName = adptrBzwkGroupName;
        }

        public String getCurrentConnection() {
            return currentConnection;
        }

        public void setCurrentConnection(String currentConnection) {
            this.currentConnection = currentConnection;
        }

        public String getRecvCount() {
            return recvCount;
        }

        public void setRecvCount(String recvCount) {
            this.recvCount = recvCount;
        }

        public String getAdptrBzwkName() {
            return adptrBzwkName;
        }

        public void setAdptrBzwkName(String adptrBzwkName) {
            this.adptrBzwkName = adptrBzwkName;
        }

        public String getAdptrBzwkDesc() {
            return adptrBzwkDesc;
        }

        public void setAdptrBzwkDesc(String adptrBzwkDesc) {
            this.adptrBzwkDesc = adptrBzwkDesc;
        }

        public String getSendCount() {
            return sendCount;
        }

        public void setSendCount(String sendCount) {
            this.sendCount = sendCount;
        }

        public String getErrorCount() {
            return errorCount;
        }

        public void setErrorCount(String errorCount) {
            this.errorCount = errorCount;
        }
    }
}