BanSummary.php 664 Bytes
<?php

namespace FootyRoom\Queries\Ban;

use DateTime;

class BanSummary
{
    /**
     * @var string
     */
    protected $userId;

    /**
     * @var string
     */
    protected $username;

    /**
     * @var \DateTime
     */
    protected $latestBan;

    /**
     * @var int
     */
    protected $banCount;

    public function getUserId(): string
    {
        return $this->userId;
    }

    public function getUsername(): string
    {
        return $this->username;
    }

    public function getLatestBan(): DateTime
    {
        return $this->latestBan;
    }

    public function getBanCount(): int
    {
        return $this->banCount;
    }
}