| @@ 8-89 (lines=82) @@ | ||
| 5 | use DateTime; |
|
| 6 | use Oc\Repository\AbstractEntity; |
|
| 7 | ||
| 8 | class GeoCacheLogsArchivedEntity extends AbstractEntity |
|
| 9 | { |
|
| 10 | /** @var int */ |
|
| 11 | public $id; |
|
| 12 | ||
| 13 | /** @var string */ |
|
| 14 | public $uuid; |
|
| 15 | ||
| 16 | /** @var int */ |
|
| 17 | public $node; |
|
| 18 | ||
| 19 | /** @var DateTime */ |
|
| 20 | public $dateCreated; |
|
| 21 | ||
| 22 | /** @var DateTime */ |
|
| 23 | public $entryLastModified; |
|
| 24 | ||
| 25 | /** @var DateTime */ |
|
| 26 | public $lastModified; |
|
| 27 | ||
| 28 | /** @var string */ |
|
| 29 | public $okapiSyncbase; |
|
| 30 | ||
| 31 | /** @var DateTime */ |
|
| 32 | public $logLastModified; |
|
| 33 | ||
| 34 | /** @var int */ |
|
| 35 | public $cacheId; |
|
| 36 | ||
| 37 | /** @var int */ |
|
| 38 | public $userId; |
|
| 39 | ||
| 40 | /** @var int */ |
|
| 41 | public $type; |
|
| 42 | ||
| 43 | /** @var int */ |
|
| 44 | public $ocTeamComment; |
|
| 45 | ||
| 46 | /** @var DateTime */ |
|
| 47 | public $date; |
|
| 48 | ||
| 49 | /** @var DateTime */ |
|
| 50 | public $orderDate; |
|
| 51 | ||
| 52 | /** @var int */ |
|
| 53 | public $needsMaintenance; |
|
| 54 | ||
| 55 | /** @var int */ |
|
| 56 | public $listingOutdated; |
|
| 57 | ||
| 58 | /** @var string */ |
|
| 59 | public $text; |
|
| 60 | ||
| 61 | /** @var int */ |
|
| 62 | public $textHtml; |
|
| 63 | ||
| 64 | /** @var int */ |
|
| 65 | public $textHtmledit; |
|
| 66 | ||
| 67 | /** @var int */ |
|
| 68 | public $ownerNotified; |
|
| 69 | ||
| 70 | /** @var int */ |
|
| 71 | public $picture; |
|
| 72 | ||
| 73 | /** @var DateTime */ |
|
| 74 | public $deletionDate; |
|
| 75 | ||
| 76 | /** @var int */ |
|
| 77 | public $deletedBy; |
|
| 78 | ||
| 79 | /** @var int */ |
|
| 80 | public $restoredBy; |
|
| 81 | ||
| 82 | /** |
|
| 83 | * @return bool |
|
| 84 | */ |
|
| 85 | public function isNew() : bool |
|
| 86 | { |
|
| 87 | return $this->id === null; |
|
| 88 | } |
|
| 89 | } |
|
| 90 | ||
| @@ 3-84 (lines=82) @@ | ||
| 1 | <?php |
|
| 2 | ||
| 3 | class GeoCacheLogsArchivedEntity extends Oc\Repository\AbstractEntity |
|
| 4 | { |
|
| 5 | /** @var int */ |
|
| 6 | public $id; |
|
| 7 | ||
| 8 | /** @var string */ |
|
| 9 | public $uuid; |
|
| 10 | ||
| 11 | /** @var int */ |
|
| 12 | public $node; |
|
| 13 | ||
| 14 | /** @var DateTime */ |
|
| 15 | public $dateCreated; |
|
| 16 | ||
| 17 | /** @var DateTime */ |
|
| 18 | public $entryLastModified; |
|
| 19 | ||
| 20 | /** @var DateTime */ |
|
| 21 | public $lastModified; |
|
| 22 | ||
| 23 | /** @var string */ |
|
| 24 | public $okapiSyncbase; |
|
| 25 | ||
| 26 | /** @var DateTime */ |
|
| 27 | public $logLastModified; |
|
| 28 | ||
| 29 | /** @var int */ |
|
| 30 | public $cacheId; |
|
| 31 | ||
| 32 | /** @var int */ |
|
| 33 | public $userId; |
|
| 34 | ||
| 35 | /** @var int */ |
|
| 36 | public $type; |
|
| 37 | ||
| 38 | /** @var int */ |
|
| 39 | public $ocTeamComment; |
|
| 40 | ||
| 41 | /** @var DateTime */ |
|
| 42 | public $date; |
|
| 43 | ||
| 44 | /** @var DateTime */ |
|
| 45 | public $orderDate; |
|
| 46 | ||
| 47 | /** @var int */ |
|
| 48 | public $needsMaintenance; |
|
| 49 | ||
| 50 | /** @var int */ |
|
| 51 | public $listingOutdated; |
|
| 52 | ||
| 53 | /** @var string */ |
|
| 54 | public $text; |
|
| 55 | ||
| 56 | /** @var int */ |
|
| 57 | public $textHtml; |
|
| 58 | ||
| 59 | /** @var int */ |
|
| 60 | public $textHtmledit; |
|
| 61 | ||
| 62 | /** @var int */ |
|
| 63 | public $ownerNotified; |
|
| 64 | ||
| 65 | /** @var smallint */ |
|
| 66 | public $picture; |
|
| 67 | ||
| 68 | /** @var DateTime */ |
|
| 69 | public $deletionDate; |
|
| 70 | ||
| 71 | /** @var int */ |
|
| 72 | public $deletedBy; |
|
| 73 | ||
| 74 | /** @var int */ |
|
| 75 | public $restoredBy; |
|
| 76 | ||
| 77 | /** |
|
| 78 | * @return bool |
|
| 79 | */ |
|
| 80 | public function isNew() |
|
| 81 | { |
|
| 82 | return $this->id === null; |
|
| 83 | } |
|
| 84 | } |
|
| 85 | ||