1 | <?php |
||
16 | class Feature extends FeatureModel { |
||
17 | /** |
||
18 | * @ORM\Id |
||
19 | * @ORM\GeneratedValue(strategy="AUTO") |
||
20 | * @ORM\Column(type="integer") |
||
21 | */ |
||
22 | protected $id; |
||
23 | |||
24 | /** |
||
25 | * @ORM\Column(type="string", length=15) |
||
26 | */ |
||
27 | protected $type; |
||
28 | |||
29 | /** |
||
30 | * @ORM\Column(type="string", length=255) |
||
31 | */ |
||
32 | protected $name; |
||
33 | |||
34 | /** |
||
35 | * @ORM\Column(type="string", length=255) |
||
36 | */ |
||
37 | protected $slug; |
||
38 | |||
39 | /** |
||
40 | * @ORM\Column(type="string", length=255, nullable=true) |
||
41 | */ |
||
42 | protected $description; |
||
43 | |||
44 | /** |
||
45 | * @ORM\Column(type="integer", nullable=true) |
||
46 | */ |
||
47 | protected $productOwnerValue; |
||
48 | |||
49 | /** |
||
50 | * @ORM\Column(type="integer", nullable=true) |
||
51 | */ |
||
52 | protected $userValue; |
||
53 | |||
54 | /** |
||
55 | * @ORM\Column(type="datetime") |
||
56 | */ |
||
57 | protected $createdAt; |
||
58 | |||
59 | /** |
||
60 | * @ORM\Column(type="datetime") |
||
61 | */ |
||
62 | protected $updatedAt; |
||
63 | |||
64 | /** |
||
65 | * @ORM\Column(type="integer") |
||
66 | */ |
||
67 | protected $status; |
||
68 | |||
69 | /** |
||
70 | * @var Project |
||
71 | * |
||
72 | * @ORM\ManyToOne(targetEntity="Developtech\AgilityBundle\Entity\Project", inversedBy="features") |
||
73 | */ |
||
74 | protected $project; |
||
75 | |||
76 | /** |
||
77 | * @param integer $id |
||
78 | * @return FeatureModel |
||
79 | */ |
||
80 | 2 | public function setId($id) { |
|
85 | |||
86 | /** |
||
87 | * @return integer |
||
88 | */ |
||
89 | 3 | public function getId() { |
|
92 | |||
93 | /** |
||
94 | * @ORM\PrePersist() |
||
95 | */ |
||
96 | public function prePersist() { |
||
99 | |||
100 | /** |
||
101 | * @ORM\PreUpdate() |
||
102 | */ |
||
103 | public function preUpdate() { |
||
106 | } |
||
107 |