Blame view

app/Queries/Ban/BanSummary.php 664 Bytes
e77200db5   nologostudio.ru   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
  <?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;
      }
  }