| 1 | <?php |
||
| 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() |
||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | /** |
||
| 66 | * Get nom. |
||
| 67 | * |
||
| 68 | * @return string |
||
| 69 | */ |
||
| 70 | public function getNom() |
||
| 74 | |||
| 75 | /** |
||
| 76 | * Set nom. |
||
| 77 | * |
||
| 78 | * @param string $nom |
||
| 79 | * |
||
| 80 | */ |
||
| 81 | public function setNom($nom) |
||
| 85 | |||
| 86 | /** |
||
| 87 | * Get type. |
||
| 88 | * |
||
| 89 | * @return string |
||
| 90 | */ |
||
| 91 | public function getType() |
||
| 95 | |||
| 96 | /** |
||
| 97 | * Set type. |
||
| 98 | * |
||
| 99 | * @param string $type |
||
| 100 | * |
||
| 101 | */ |
||
| 102 | public function setType($type) |
||
| 106 | |||
| 107 | /** |
||
| 108 | * Get sujet. |
||
| 109 | * |
||
| 110 | * @return string |
||
| 111 | */ |
||
| 112 | public function getSujet() |
||
| 116 | |||
| 117 | /** |
||
| 118 | * Set sujet. |
||
| 119 | * |
||
| 120 | * @param string $sujet |
||
| 121 | * |
||
| 122 | */ |
||
| 123 | public function setSujet($sujet) |
||
| 127 | |||
| 128 | /** |
||
| 129 | * Get message. |
||
| 130 | * |
||
| 131 | * @return string |
||
| 132 | */ |
||
| 133 | public function getMessage() |
||
| 137 | |||
| 138 | /** |
||
| 139 | * Set message. |
||
| 140 | * |
||
| 141 | * @param string $message |
||
| 142 | * |
||
| 143 | */ |
||
| 144 | public function setMessage($message) |
||
| 148 | } |
||
|
|
|||
| 149 |
This check marks files that end in a newline character, i.e. an empy line.