Player.php
1 <?php 2 3 namespace App\Entity; 4 5 use App\Repository\PlayerRepository; 6 use Doctrine\DBAL\Types\Types; 7 use Doctrine\ORM\Mapping as ORM; 8 9 #[ORM\Entity(repositoryClass: PlayerRepository::class)] 10 class Player 11 { 12 #[ORM\Id] 13 #[ORM\GeneratedValue] 14 #[ORM\Column] 15 private ?int $id = null; 16 17 #[ORM\Column(type: Types::BIGINT)] 18 private ?string $crc32server = null; 19 20 #[ORM\Column(type: Types::BIGINT)] 21 private ?string $crc32name = null; 22 23 #[ORM\Column(type: Types::BIGINT)] 24 private ?string $joined = null; 25 26 #[ORM\Column(type: Types::BIGINT)] 27 private ?string $updated = null; 28 29 #[ORM\Column(type: Types::BIGINT)] 30 private ?string $online = null; 31 32 #[ORM\Column(type: Types::BIGINT)] 33 private ?string $frags = null; 34 35 #[ORM\Column(length: 255)] 36 private ?string $name = null; 37 38 public function getId(): ?int 39 { 40 return $this->id; 41 } 42 43 public function getCrc32server(): ?string 44 { 45 return $this->crc32server; 46 } 47 48 public function setCrc32server(string $crc32server): static 49 { 50 $this->crc32server = $crc32server; 51 52 return $this; 53 } 54 55 public function getCrc32name(): ?string 56 { 57 return $this->crc32name; 58 } 59 60 public function setCrc32name(string $crc32name): static 61 { 62 $this->crc32name = $crc32name; 63 64 return $this; 65 } 66 67 public function getJoined(): ?string 68 { 69 return $this->joined; 70 } 71 72 public function setJoined(string $joined): static 73 { 74 $this->joined = $joined; 75 76 return $this; 77 } 78 79 public function getUpdated(): ?string 80 { 81 return $this->updated; 82 } 83 84 public function setUpdated(string $updated): static 85 { 86 $this->updated = $updated; 87 88 return $this; 89 } 90 91 public function getOnline(): ?string 92 { 93 return $this->online; 94 } 95 96 public function setOnline(string $online): static 97 { 98 $this->online = $online; 99 100 return $this; 101 } 102 103 public function getFrags(): ?string 104 { 105 return $this->frags; 106 } 107 108 public function setFrags(string $frags): static 109 { 110 $this->frags = $frags; 111 112 return $this; 113 } 114 115 public function getName(): ?string 116 { 117 return $this->name; 118 } 119 120 public function setName(string $name): static 121 { 122 $this->name = $name; 123 124 return $this; 125 } 126 }