| 1 | <?php |
||
| 23 | class Notification |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @Elasticsearch\Property(type="string") |
||
| 27 | */ |
||
| 28 | public $id; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @Elasticsearch\Property(type="text") |
||
| 32 | */ |
||
| 33 | public $body; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @Elasticsearch\Property(type="integer") |
||
| 37 | */ |
||
| 38 | public $publishedOn; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @Elasticsearch\Property(type="integer") |
||
| 42 | */ |
||
| 43 | public $readOn; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @Elasticsearch\Property(type="string") |
||
| 47 | */ |
||
| 48 | public $status; |
||
| 49 | |||
| 50 | public function __construct(string $id = null, string $body = null, int $publishedOn = null) |
||
| 57 | } |
||
| 58 |