Completed
Push — payment ( a2694a )
by Torben
42:06
created

CustomNotificationLog   A

Complexity

Total Complexity 10

Size/Duplication

Total Lines 148
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 3
Bugs 1 Features 0
Metric Value
wmc 10
c 3
b 1
f 0
lcom 0
cbo 0
dl 0
loc 148
rs 10

10 Methods

Rating   Name   Duplication   Size   Complexity  
A setDetails() 0 4 1
A getDetails() 0 4 1
A setEvent() 0 4 1
A getEvent() 0 4 1
A setEmailsSent() 0 4 1
A getEmailsSent() 0 4 1
A getTstamp() 0 4 1
A setTstamp() 0 4 1
A getCruserId() 0 4 1
A setCruserId() 0 4 1
1
<?php
2
namespace DERHANSEN\SfEventMgt\Domain\Model;
3
4
/*
5
 * This file is part of the TYPO3 CMS project.
6
 *
7
 * It is free software; you can redistribute it and/or modify it under
8
 * the terms of the GNU General Public License, either version 2
9
 * of the License, or any later version.
10
 *
11
 * For the full copyright and license information, please read the
12
 * LICENSE.txt file that was distributed with this source code.
13
 *
14
 * The TYPO3 project - inspiring people to share!
15
 */
16
17
/**
18
 * CustomNotificationLog
19
 *
20
 * @author Torben Hansen <[email protected]>
21
 */
22
class CustomNotificationLog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
23
{
24
25
    /**
26
     * Event
27
     *
28
     * @var \DERHANSEN\SfEventMgt\Domain\Model\Event
29
     */
30
    protected $event = null;
31
32
    /**
33
     * Details
34
     *
35
     * @var string
36
     */
37
    protected $details;
38
39
    /**
40
     * E-Mails sent
41
     *
42
     * @var int
43
     */
44
    protected $emailsSent;
45
46
    /**
47
     * Timestamp
48
     *
49
     * @var \DateTime
50
     */
51
    protected $tstamp;
52
53
    /**
54
     * Backend user
55
     *
56
     * @var \TYPO3\CMS\Beuser\Domain\Model\BackendUser
57
     */
58
    protected $cruserId;
59
60
    /**
61
     * Sets the details
62
     *
63
     * @param string $details Details
64
     *
65
     * @return void
66
     */
67
    public function setDetails($details)
68
    {
69
        $this->details = $details;
70
    }
71
72
    /**
73
     * Returns the details
74
     *
75
     * @return string
76
     */
77
    public function getDetails()
78
    {
79
        return $this->details;
80
    }
81
82
    /**
83
     * Sets the event
84
     *
85
     * @param \DERHANSEN\SfEventMgt\Domain\Model\Event $event Event
86
     *
87
     * @return void
88
     */
89
    public function setEvent(Event $event)
90
    {
91
        $this->event = $event;
92
    }
93
94
    /**
95
     * Returns the event
96
     *
97
     * @return \DERHANSEN\SfEventMgt\Domain\Model\Event
98
     */
99
    public function getEvent()
100
    {
101
        return $this->event;
102
    }
103
104
    /**
105
     * Sets emailsSent
106
     *
107
     * @param int $emailsSent E-Mails sent
108
     *
109
     * @return void
110
     */
111
    public function setEmailsSent($emailsSent)
112
    {
113
        $this->emailsSent = $emailsSent;
114
    }
115
116
    /**
117
     * Returns emailsSent
118
     *
119
     * @return int
120
     */
121
    public function getEmailsSent()
122
    {
123
        return $this->emailsSent;
124
    }
125
126
    /**
127
     * Returns tstamp
128
     *
129
     * @return \DateTime
130
     */
131
    public function getTstamp()
132
    {
133
        return $this->tstamp;
134
    }
135
136
    /**
137
     * Sets the timestamp
138
     *
139
     * @param \DateTime $tstamp Tstamp
140
     *
141
     * @return void
142
     */
143
    public function setTstamp(\DateTime $tstamp)
144
    {
145
        $this->tstamp = $tstamp;
146
    }
147
148
    /**
149
     * Returns the backend user
150
     *
151
     * @return \TYPO3\CMS\Beuser\Domain\Model\BackendUser
152
     */
153
    public function getCruserId()
154
    {
155
        return $this->cruserId;
156
    }
157
158
    /**
159
     * Sets the backend user
160
     *
161
     * @param \TYPO3\CMS\Beuser\Domain\Model\BackendUser $cruserId CruserId
162
     *
163
     * @return void
164
     */
165
    public function setCruserId($cruserId)
166
    {
167
        $this->cruserId = $cruserId;
168
    }
169
}