1: <?php
2: /**
3: * LeadCommerce\Shopware\SDK\Entity
4: *
5: * Copyright 2016 LeadCommerce
6: *
7: * @author Alexander Mahrt <amahrt@leadcommerce.de>
8: * @copyright 2016 LeadCommerce <amahrt@leadcommerce.de>
9: */
10: namespace LeadCommerce\Shopware\SDK\Entity;
11:
12: /**
13: * Class Related
14: */
15: class Related extends Base
16: {
17: /**
18: * @var int
19: */
20: protected $id;
21: /**
22: * @var string
23: */
24: protected $name;
25:
26: /**
27: * @return int
28: */
29: public function getId()
30: {
31: return $this->id;
32: }
33:
34: /**
35: * @param int $id
36: *
37: * @return Related
38: */
39: public function setId($id)
40: {
41: $this->id = $id;
42:
43: return $this;
44: }
45:
46: /**
47: * @return string
48: */
49: public function getName()
50: {
51: return $this->name;
52: }
53:
54: /**
55: * @param string $name
56: *
57: * @return Related
58: */
59: public function setName($name)
60: {
61: $this->name = $name;
62:
63: return $this;
64: }
65: }
66: