package es.uv.dagarcos.master.dto;

import java.time.Instant;

public class ShardOverviewDto {

    private String shardId;
    private String name;
    private String location;
    private String status;
    private Instant lastHeartbeat;
    private long totalEvents;
    private long totalPlayers;

    public ShardOverviewDto(String shardId,
                            String name,
                            String location,
                            String status,
                            Instant lastHeartbeat,
                            long totalEvents,
                            long totalPlayers) {
        this.shardId = shardId;
        this.name = name;
        this.location = location;
        this.status = status;
        this.lastHeartbeat = lastHeartbeat;
        this.totalEvents = totalEvents;
        this.totalPlayers = totalPlayers;
    }

    public String getShardId() {
        return shardId;
    }

    public void setShardId(String shardId) {
        this.shardId = shardId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getStatus() {
        return status;
    }

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

    public Instant getLastHeartbeat() {
        return lastHeartbeat;
    }

    public void setLastHeartbeat(Instant lastHeartbeat) {
        this.lastHeartbeat = lastHeartbeat;
    }

    public long getTotalEvents() {
        return totalEvents;
    }

    public void setTotalEvents(long totalEvents) {
        this.totalEvents = totalEvents;
    }

    public long getTotalPlayers() {
        return totalPlayers;
    }

    public void setTotalPlayers(long totalPlayers) {
        this.totalPlayers = totalPlayers;
    }

    
}
