1 | <?php |
||
35 | class Hook extends CommonBaseEntity |
||
36 | { |
||
37 | /** |
||
38 | * @ORM\Column(name="resource_id",type="string", length=255, nullable=false); |
||
39 | * |
||
40 | */ |
||
41 | |||
42 | private $resourceId; |
||
43 | |||
44 | /** |
||
45 | * @ORM\Column(name="date",type="string", length=255, nullable=false); |
||
46 | * |
||
47 | */ |
||
48 | |||
49 | private $date; |
||
50 | |||
51 | |||
52 | /** |
||
53 | * @ORM\Column(name="event_type",type="string", length=255, nullable=false); |
||
54 | * |
||
55 | */ |
||
56 | |||
57 | private $eventType; |
||
58 | |||
59 | /** |
||
60 | * @ORM\Column(name="raw_hook_data",type="string", length=500, nullable=false); |
||
61 | * |
||
62 | */ |
||
63 | |||
64 | private $rawHookData; |
||
65 | |||
66 | /** |
||
67 | * @var string |
||
68 | * |
||
69 | * @ORM\Column(name="status", type="string", length=200, nullable=false) |
||
70 | */ |
||
71 | protected $status; |
||
72 | |||
73 | public function __construct() |
||
78 | |||
79 | /** |
||
80 | * @return mixed |
||
81 | */ |
||
82 | public function getResourceId() |
||
86 | |||
87 | /** |
||
88 | * @param mixed $resourceId |
||
89 | */ |
||
90 | public function setResourceId($resourceId) |
||
94 | |||
95 | /** |
||
96 | * @return mixed |
||
97 | */ |
||
98 | public function getDate() |
||
102 | |||
103 | /** |
||
104 | * @param mixed $date |
||
105 | */ |
||
106 | public function setDate($date) |
||
110 | |||
111 | /** |
||
112 | * @return mixed |
||
113 | */ |
||
114 | public function getEventType() |
||
118 | |||
119 | /** |
||
120 | * @param mixed $eventType |
||
121 | */ |
||
122 | public function setEventType($eventType) |
||
126 | |||
127 | /** |
||
128 | * @return mixed |
||
129 | */ |
||
130 | public function getRawHookData() |
||
134 | |||
135 | /** |
||
136 | * @param mixed $rawHookData |
||
137 | */ |
||
138 | public function setRawHookData($rawHookData) |
||
142 | |||
143 | /** |
||
144 | * @return string |
||
145 | */ |
||
146 | public function getStatus(): string |
||
150 | |||
151 | /** |
||
152 | * @param string $status |
||
153 | */ |
||
154 | public function setStatus(string $status) |
||
158 | |||
159 | |||
160 | } |