Blame view

app/Queries/Predictor/Player.php 693 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
  <?php
  
  namespace FootyRoom\Queries\Predictor;
  
  use FootyRoom\Core\Predictor\Player as PlayerDomainModel;
  
  class Player
  {
      public function __construct(int $userId, string $username)
      {
          $this->userId = $userId;
          $this->username = $username;
          $this->points = PlayerDomainModel::STARTING_POINTS; 
          $this->locked = 0;
      }
  
      /** @var int */
      public $userId;
  
      /** @var string */
      public $username;
  
      /** @var int */
      public $points;
  
      /** @var int */
      public $locked;
  
      /** @var int */
      public $profit;
  
      /** @var int */
      public $rank;
  
      /** @var int */
      public $correct;
  
      /** @var int */
      public $predictions;
  }