1 | <?php |
||
14 | class Feature extends Job { |
||
15 | /** |
||
16 | * @ORM\Column(type="string", length=15) |
||
17 | */ |
||
18 | protected $featureType; |
||
19 | /** |
||
20 | * @ORM\Column(type="integer", nullable=true) |
||
21 | */ |
||
22 | protected $productOwnerValue; |
||
23 | /** |
||
24 | * @ORM\Column(type="integer", nullable=true) |
||
25 | */ |
||
26 | protected $userValue; |
||
27 | |||
28 | const FEATURE_TYPE_PRODUCT_OWNER = 'product-owner'; |
||
29 | const FEATURE_TYPE_USER = 'user'; |
||
30 | |||
31 | const STATUS_TO_SPECIFY = 0; |
||
32 | const STATUS_TO_VALORIZE = 1; |
||
33 | const STATUS_READY = 2; |
||
34 | const STATUS_TO_DO = 3; |
||
35 | const STATUS_IN_PROGRESS = 4; |
||
36 | const STATUS_TO_VALIDATE = 5; |
||
37 | const STATUS_TO_DEPLOY = 6; |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | 1 | public function getType() { |
|
45 | |||
46 | /** |
||
47 | * @param string $featureType |
||
48 | * @return FeatureModel |
||
49 | */ |
||
50 | 2 | public function setFeatureType($featureType) { |
|
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | 1 | public function getFeatureType() { |
|
62 | |||
63 | /** |
||
64 | * @param integer $productOwnerValue |
||
65 | * @return FeatureModel |
||
66 | */ |
||
67 | 2 | public function setProductOwnerValue($productOwnerValue) { |
|
72 | |||
73 | /** |
||
74 | * @return integer |
||
75 | */ |
||
76 | 2 | public function getProductOwnerValue() { |
|
79 | |||
80 | /** |
||
81 | * @var integer $userValue |
||
82 | * @return FeatureModel |
||
83 | */ |
||
84 | 1 | public function setUserValue($userValue) { |
|
89 | |||
90 | /** |
||
91 | * @return integer |
||
92 | */ |
||
93 | 1 | public function getUserValue() { |
|
96 | } |
||
97 |