Total Complexity | 6 |
Total Lines | 76 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
26 | class AuthIps |
||
27 | { |
||
28 | const TABLE_NAME = 'proxybonanza_auth_ips'; |
||
29 | |||
30 | /** |
||
31 | * @var integer |
||
32 | * @ORM\Column(name="authips_id", type="integer") |
||
33 | * @ORM\Id |
||
34 | * @ORM\GeneratedValue(strategy="IDENTITY") |
||
35 | */ |
||
36 | private $id; |
||
37 | |||
38 | /** |
||
39 | * @var integer |
||
40 | * @ORM\Column(name="authips_plan", type="integer", nullable=false) |
||
41 | */ |
||
42 | private $plan; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | * @ORM\Column(name="authips_ip", type="string", nullable=false) |
||
47 | */ |
||
48 | private $ip; |
||
49 | |||
50 | /** |
||
51 | * @return int |
||
52 | */ |
||
53 | public function getId(): int |
||
54 | { |
||
55 | return $this->id; |
||
56 | } |
||
57 | |||
58 | /** |
||
59 | * @param int $id |
||
60 | * @return AuthIps |
||
61 | */ |
||
62 | public function setId(int $id): AuthIps |
||
63 | { |
||
64 | $this->id = $id; |
||
65 | return $this; |
||
66 | } |
||
67 | |||
68 | /** |
||
69 | * @return int |
||
70 | */ |
||
71 | public function getPlan(): int |
||
72 | { |
||
73 | return $this->plan; |
||
74 | } |
||
75 | |||
76 | /** |
||
77 | * @param int $plan |
||
78 | * @return AuthIps |
||
79 | */ |
||
80 | public function setPlan(int $plan): AuthIps |
||
81 | { |
||
82 | $this->plan = $plan; |
||
83 | return $this; |
||
84 | } |
||
85 | |||
86 | /** |
||
87 | * @return string |
||
88 | */ |
||
89 | public function getIp(): string |
||
90 | { |
||
91 | return $this->ip; |
||
92 | } |
||
93 | |||
94 | /** |
||
95 | * @param string $ip |
||
96 | * @return AuthIps |
||
97 | */ |
||
98 | public function setIp(string $ip): AuthIps |
||
102 | } |
||
103 | } |
||
104 |