Bug #59858 » Document.php

Wolfgang Felbermeier, 2015-01-13 12:20

 
1
<?php
2
namespace Mandigo\AboTool\Domain\Model;
3

    
4
use Doctrine\ORM\Mapping as ORM;
5
use TYPO3\Flow\Annotations as Flow;
6

    
7
/**
8
 * @Flow\Entity
9
 */
10
class Document {
11

    
12
    /**
13
     * @var string
14
     * @Flow\Transient
15
     */
16
    public static $DOCUMENT_ABO_DOWNLOAD = "ABODOWNLOAD";
17

    
18
    /**
19
     * @var string
20
     * @Flow\Transient
21
     */
22
    public static $DOCUMENT_SPONSORING_CONTRACT = "SPONSORINGCONTRACT";
23

    
24
    /**
25
     * @var string
26
     */
27
    protected $accessDestination;
28

    
29
    /**
30
     * @var string
31
     */
32
    protected $documentId;
33

    
34
    /**
35
     * @var \Mandigo\AboTool\Domain\Model\Country
36
     * @ORM\OneToOne
37
     */
38
    protected $country;
39

    
40
    /**
41
     * @return mixed
42
     */
43
    public function getAccessDestination()
44
    {
45
        return $this->accessDestination;
46
    }
47

    
48
    /**
49
     * @param mixed $accessDestination
50
     */
51
    public function setAccessDestination($accessDestination)
52
    {
53
        $this->accessDestination = $accessDestination;
54
    }
55

    
56
    /**
57
     * @return string
58
     */
59
    public function getCountry()
60
    {
61
        return $this->country;
62
    }
63

    
64
    /**
65
     * @param string $country
66
     */
67
    public function setCountry($country)
68
    {
69
        $this->country = $country;
70
    }
71

    
72
    /**
73
     * @return string
74
     */
75
    public function getDocumentId()
76
    {
77
        return $this->documentId;
78
    }
79

    
80
    /**
81
     * @param string $documentId
82
     */
83
    public function setDocumentId($documentId)
84
    {
85
        $this->documentId = $documentId;
86
    }
87
} 
(2-2/2)