| 1 | <?php |
||
| 10 | trait ImportableTrait |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Store id for remote source, use this as identifiant to make reference in import scripts. |
||
| 14 | * @var string |
||
| 15 | * |
||
| 16 | * @ORM\Column(type="string", length=100, nullable=true) |
||
| 17 | */ |
||
| 18 | protected $importId; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \DateTime |
||
| 22 | * @ORM\Column(type="datetime", nullable=true) |
||
| 23 | */ |
||
| 24 | protected $importedAt; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function getImportId() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $importId |
||
| 36 | */ |
||
| 37 | 1 | public function setImportId($importId) |
|
| 38 | { |
||
| 39 | 1 | $this->importId = $importId; |
|
| 40 | 1 | } |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return \DateTime |
||
| 44 | */ |
||
| 45 | public function getImportedAt() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param \DateTime $importedAt |
||
| 52 | */ |
||
| 53 | public function setImportedAt($importedAt) |
||
| 57 | } |
||
| 58 |