Completed
Push — master ( 4be93f...79933c )
by Guillaume
11:24
created

Template::setUuid()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Starkerxp\CampagneBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use Starkerxp\StructureBundle\Entity\Entity;
7
8
/**
9
 * Template.
10
 *
11
 * @ORM\Table(name="template")
12
 * @ORM\Entity(repositoryClass="Starkerxp\CampagneBundle\Repository\TemplateRepository")
13
 */
14
class Template extends Entity
15
{
16
    /**
17
     * @var int
18
     *
19
     * @ORM\Column(name="id", type="integer")
20
     * @ORM\Id
21
     * @ORM\GeneratedValue(strategy="AUTO")
22
     */
23
    protected $id;
24
25
    /**
26
     * @var string
27
     *
28
     * @ORM\Column(name="name", type="string", length=255)
29
     */
30
    protected $nom;
31
32
    /**
33
     * @var string
34
     *
35
     * @ORM\Column(name="type", type="string", length=255)
36
     */
37
    protected $type;
38
39
    /**
40
     * @var string
41
     *
42
     * @ORM\Column(name="object", type="string", length=255)
43
     */
44
    protected $sujet;
45
46
    /**
47
     * @var string
48
     *
49
     * @ORM\Column(name="message", type="text")
50
     */
51
    protected $message;
52
53
    /**
54
     * Get id.
55
     *
56
     * @return int
57
     */
58
    public function getId()
59
    {
60
        return $this->id;
61
    }
62
63
64
65
    /**
66
     * Get nom.
67
     *
68
     * @return string
69
     */
70
    public function getNom()
71
    {
72
        return $this->nom;
73
    }
74
75
    /**
76
     * Set nom.
77
     *
78
     * @param string $nom
79
     *
80
     */
81
    public function setNom($nom)
82
    {
83
        $this->nom = $nom;
84
    }
85
86
    /**
87
     * Get type.
88
     *
89
     * @return string
90
     */
91
    public function getType()
92
    {
93
        return $this->type;
94
    }
95
96
    /**
97
     * Set type.
98
     *
99
     * @param string $type
100
     *
101
     */
102
    public function setType($type)
103
    {
104
        $this->type = $type;
105
    }
106
107
    /**
108
     * Get sujet.
109
     *
110
     * @return string
111
     */
112
    public function getSujet()
113
    {
114
        return $this->sujet;
115
    }
116
117
    /**
118
     * Set sujet.
119
     *
120
     * @param string $sujet
121
     *
122
     */
123
    public function setSujet($sujet)
124
    {
125
        $this->sujet = $sujet;
126
    }
127
128
    /**
129
     * Get message.
130
     *
131
     * @return string
132
     */
133
    public function getMessage()
134
    {
135
        return $this->message;
136
    }
137
138
    /**
139
     * Set message.
140
     *
141
     * @param string $message
142
     *
143
     */
144
    public function setMessage($message)
145
    {
146
        $this->message = $message;
147
    }
148
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
149