/
SelectedSocialLink.php
81 lines (70 loc) · 1.43 KB
/
SelectedSocialLink.php
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
namespace Concrete\Core\Entity\Attribute\Value\Value;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="atSelectedSocialLinks")
*/
class SelectedSocialLink
{
/**
* @ORM\Id @ORM\Column(type="integer", options={"unsigned":true})
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $avsID;
/**
* @ORM\ManyToOne(targetEntity="SocialLinksValue", inversedBy="links")
* @ORM\JoinColumn(name="avID", referencedColumnName="avID")
*/
protected $value;
/**
* @ORM\Column(type="string")
*/
protected $service;
/**
* @ORM\Column(type="string", nullable=true)
*/
protected $serviceInfo;
/**
* @return mixed
*/
public function getService()
{
return $this->service;
}
/**
* @param mixed $service
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return mixed
*/
public function getServiceInfo()
{
return $this->serviceInfo;
}
/**
* @param mixed $serviceInfo
*/
public function setServiceInfo($serviceInfo)
{
$this->serviceInfo = $serviceInfo;
}
/**
* @return mixed
*/
public function getAttributeValue()
{
return $this->value;
}
/**
* @param mixed $value
*/
public function setAttributeValue($value)
{
$this->value = $value;
}
}