-
Notifications
You must be signed in to change notification settings - Fork 452
/
SetKey.php
78 lines (68 loc) · 1.49 KB
/
SetKey.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
<?php
namespace Concrete\Core\Entity\Attribute;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(
* name="AttributeSetKeys"
* )
*/
class SetKey
{
/**
* @ORM\Id @ORM\ManyToOne(targetEntity="\Concrete\Core\Entity\Attribute\Key\Key", inversedBy="set_keys")
* @ORM\JoinColumn(name="akID", referencedColumnName="akID")
*/
protected $attribute_key;
/**
* @ORM\Id @ORM\ManyToOne(targetEntity="\Concrete\Core\Entity\Attribute\Set", inversedBy="keys")
* @ORM\JoinColumn(name="asID", referencedColumnName="asID")
*/
protected $set;
/**
* @ORM\Column(type="integer", options={"unsigned":true})
*/
protected $asDisplayOrder = 0;
/**
* @return mixed
*/
public function getAttributeKey()
{
return $this->attribute_key;
}
/**
* @param mixed $attribute_key
*/
public function setAttributeKey($attribute_key)
{
$this->attribute_key = $attribute_key;
}
/**
* @return mixed
*/
public function getAttributeSet()
{
return $this->set;
}
/**
* @param mixed $set
*/
public function setAttributeSet($set)
{
$this->set = $set;
}
/**
* @return mixed
*/
public function getDisplayOrder()
{
return $this->asDisplayOrder;
}
/**
* @param mixed $asDisplayOrder
*/
public function setDisplayOrder($asDisplayOrder)
{
$this->asDisplayOrder = $asDisplayOrder;
}
}