1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Obblm\Core\Entity\Traits; |
4
|
|
|
|
5
|
|
|
use Doctrine\ORM\Mapping as ORM; |
6
|
|
|
|
7
|
|
|
trait TeamEvolutionTrait |
8
|
|
|
{ |
9
|
|
|
/** |
10
|
|
|
* @ORM\Column(type="integer") |
11
|
|
|
*/ |
12
|
|
|
private $points = 0; |
13
|
|
|
|
14
|
|
|
/** |
15
|
|
|
* @ORM\Column(type="integer") |
16
|
|
|
*/ |
17
|
|
|
private $tdGive = 0; |
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* @ORM\Column(type="integer") |
21
|
|
|
*/ |
22
|
|
|
private $tdTake = 0; |
23
|
|
|
|
24
|
|
|
/** |
25
|
|
|
* @ORM\Column(type="integer") |
26
|
|
|
*/ |
27
|
|
|
private $injuryGive = 0; |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* @ORM\Column(type="integer") |
31
|
|
|
*/ |
32
|
|
|
private $injuryTake = 0; |
33
|
|
|
|
34
|
|
|
/** |
35
|
|
|
* @ORM\Column(type="integer") |
36
|
|
|
*/ |
37
|
|
|
private $gameWin = 0; |
38
|
|
|
|
39
|
|
|
/** |
40
|
|
|
* @ORM\Column(type="integer") |
41
|
|
|
*/ |
42
|
|
|
private $gameDraw = 0; |
43
|
|
|
|
44
|
|
|
/** |
45
|
|
|
* @ORM\Column(type="integer") |
46
|
|
|
*/ |
47
|
|
|
private $gameLoss = 0; |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* @ORM\Column(type="integer") |
51
|
|
|
*/ |
52
|
|
|
private $tr = 0; |
53
|
|
|
|
54
|
|
|
public function getPoints(): ?int |
55
|
|
|
{ |
56
|
|
|
return $this->points; |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
public function setPoints(int $points): self |
60
|
|
|
{ |
61
|
|
|
$this->points = $points; |
62
|
|
|
|
63
|
|
|
return $this; |
64
|
|
|
} |
65
|
|
|
|
66
|
|
|
public function getTdGive(): ?int |
67
|
|
|
{ |
68
|
|
|
return $this->tdGive; |
69
|
|
|
} |
70
|
|
|
|
71
|
|
|
public function setTdGive(int $tdGive): self |
72
|
|
|
{ |
73
|
|
|
$this->tdGive = $tdGive; |
74
|
|
|
|
75
|
|
|
return $this; |
76
|
|
|
} |
77
|
|
|
|
78
|
|
|
public function getTdTake(): ?int |
79
|
|
|
{ |
80
|
|
|
return $this->tdTake; |
81
|
|
|
} |
82
|
|
|
|
83
|
|
|
public function setTdTake(int $tdTake): self |
84
|
|
|
{ |
85
|
|
|
$this->tdTake = $tdTake; |
86
|
|
|
|
87
|
|
|
return $this; |
88
|
|
|
} |
89
|
|
|
|
90
|
|
|
public function getInjuryGive(): ?int |
91
|
|
|
{ |
92
|
|
|
return $this->injuryGive; |
93
|
|
|
} |
94
|
|
|
|
95
|
|
|
public function setInjuryGive(int $injuryGive): self |
96
|
|
|
{ |
97
|
|
|
$this->injuryGive = $injuryGive; |
98
|
|
|
|
99
|
|
|
return $this; |
100
|
|
|
} |
101
|
|
|
|
102
|
|
|
public function getInjuryTake(): ?int |
103
|
|
|
{ |
104
|
|
|
return $this->injuryTake; |
105
|
|
|
} |
106
|
|
|
|
107
|
|
|
public function setInjuryTake(int $injuryTake): self |
108
|
|
|
{ |
109
|
|
|
$this->injuryTake = $injuryTake; |
110
|
|
|
|
111
|
|
|
return $this; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
public function getGameWin(): ?int |
115
|
|
|
{ |
116
|
|
|
return $this->gameWin; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
public function setGameWin(int $gameWin): self |
120
|
|
|
{ |
121
|
|
|
$this->gameWin = $gameWin; |
122
|
|
|
|
123
|
|
|
return $this; |
124
|
|
|
} |
125
|
|
|
|
126
|
|
|
public function getGameDraw(): ?int |
127
|
|
|
{ |
128
|
|
|
return $this->gameDraw; |
129
|
|
|
} |
130
|
|
|
|
131
|
|
|
public function setGameDraw(int $gameDraw): self |
132
|
|
|
{ |
133
|
|
|
$this->gameDraw = $gameDraw; |
134
|
|
|
|
135
|
|
|
return $this; |
136
|
|
|
} |
137
|
|
|
|
138
|
|
|
public function getGameLoss(): ?int |
139
|
|
|
{ |
140
|
|
|
return $this->gameLoss; |
141
|
|
|
} |
142
|
|
|
|
143
|
|
|
public function setGameLoss(int $gameLoss): self |
144
|
|
|
{ |
145
|
|
|
$this->gameLoss = $gameLoss; |
146
|
|
|
|
147
|
|
|
return $this; |
148
|
|
|
} |
149
|
|
|
|
150
|
|
|
public function getTr(): ?int |
151
|
|
|
{ |
152
|
|
|
return $this->tr; |
153
|
|
|
} |
154
|
|
|
|
155
|
|
|
public function setTr(int $tr): self |
156
|
|
|
{ |
157
|
|
|
$this->tr = $tr; |
158
|
|
|
|
159
|
|
|
return $this; |
160
|
|
|
} |
161
|
|
|
} |
162
|
|
|
|