1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* For licensing terms, see /license.txt */ |
4
|
|
|
|
5
|
|
|
declare(strict_types=1); |
6
|
|
|
|
7
|
|
|
namespace Chamilo\CoreBundle\Entity; |
8
|
|
|
|
9
|
|
|
use Chamilo\CoreBundle\Repository\XApiActorRepository; |
10
|
|
|
use Doctrine\ORM\Mapping as ORM; |
11
|
|
|
|
12
|
|
|
#[ORM\Entity(repositoryClass: XApiActorRepository::class)] |
13
|
|
|
class XApiActor |
14
|
|
|
{ |
15
|
|
|
#[ORM\Id] |
16
|
|
|
#[ORM\GeneratedValue] |
17
|
|
|
#[ORM\Column] |
18
|
|
|
private ?int $identifier = null; |
19
|
|
|
|
20
|
|
|
#[ORM\Column(length: 255, nullable: true)] |
21
|
|
|
private ?string $type = null; |
22
|
|
|
|
23
|
|
|
#[ORM\Column(length: 255, nullable: true)] |
24
|
|
|
private ?string $mbox = null; |
25
|
|
|
|
26
|
|
|
#[ORM\Column(length: 255, nullable: true)] |
27
|
|
|
private ?string $mboxSha1Sum = null; |
28
|
|
|
|
29
|
|
|
#[ORM\Column(length: 255, nullable: true)] |
30
|
|
|
private ?string $openId = null; |
31
|
|
|
|
32
|
|
|
#[ORM\Column(length: 255, nullable: true)] |
33
|
|
|
private ?string $accountName = null; |
34
|
|
|
|
35
|
|
|
#[ORM\Column(length: 255, nullable: true)] |
36
|
|
|
private ?string $accountHomePage = null; |
37
|
|
|
|
38
|
|
|
#[ORM\Column(length: 255, nullable: true)] |
39
|
|
|
private ?string $name = null; |
40
|
|
|
|
41
|
|
|
public function getIdentifier(): ?int |
42
|
|
|
{ |
43
|
|
|
return $this->identifier; |
44
|
|
|
} |
45
|
|
|
|
46
|
|
|
public function getType(): ?string |
47
|
|
|
{ |
48
|
|
|
return $this->type; |
49
|
|
|
} |
50
|
|
|
|
51
|
|
|
public function setType(?string $type): static |
52
|
|
|
{ |
53
|
|
|
$this->type = $type; |
54
|
|
|
|
55
|
|
|
return $this; |
56
|
|
|
} |
57
|
|
|
|
58
|
|
|
public function getMbox(): ?string |
59
|
|
|
{ |
60
|
|
|
return $this->mbox; |
61
|
|
|
} |
62
|
|
|
|
63
|
|
|
public function setMbox(?string $mbox): static |
64
|
|
|
{ |
65
|
|
|
$this->mbox = $mbox; |
66
|
|
|
|
67
|
|
|
return $this; |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
public function getMboxSha1Sum(): ?string |
71
|
|
|
{ |
72
|
|
|
return $this->mboxSha1Sum; |
73
|
|
|
} |
74
|
|
|
|
75
|
|
|
public function setMboxSha1Sum(?string $mboxSha1Sum): static |
76
|
|
|
{ |
77
|
|
|
$this->mboxSha1Sum = $mboxSha1Sum; |
78
|
|
|
|
79
|
|
|
return $this; |
80
|
|
|
} |
81
|
|
|
|
82
|
|
|
public function getOpenId(): ?string |
83
|
|
|
{ |
84
|
|
|
return $this->openId; |
85
|
|
|
} |
86
|
|
|
|
87
|
|
|
public function setOpenId(?string $openId): static |
88
|
|
|
{ |
89
|
|
|
$this->openId = $openId; |
90
|
|
|
|
91
|
|
|
return $this; |
92
|
|
|
} |
93
|
|
|
|
94
|
|
|
public function getAccountName(): ?string |
95
|
|
|
{ |
96
|
|
|
return $this->accountName; |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
public function setAccountName(?string $accountName): static |
100
|
|
|
{ |
101
|
|
|
$this->accountName = $accountName; |
102
|
|
|
|
103
|
|
|
return $this; |
104
|
|
|
} |
105
|
|
|
|
106
|
|
|
public function getAccountHomePage(): ?string |
107
|
|
|
{ |
108
|
|
|
return $this->accountHomePage; |
109
|
|
|
} |
110
|
|
|
|
111
|
|
|
public function setAccountHomePage(?string $accountHomePage): static |
112
|
|
|
{ |
113
|
|
|
$this->accountHomePage = $accountHomePage; |
114
|
|
|
|
115
|
|
|
return $this; |
116
|
|
|
} |
117
|
|
|
|
118
|
|
|
public function getName(): ?string |
119
|
|
|
{ |
120
|
|
|
return $this->name; |
121
|
|
|
} |
122
|
|
|
|
123
|
|
|
public function setName(?string $name): static |
124
|
|
|
{ |
125
|
|
|
$this->name = $name; |
126
|
|
|
|
127
|
|
|
return $this; |
128
|
|
|
} |
129
|
|
|
} |
130
|
|
|
|