Added a constructor and setting createdAt

Fix for issue https://github.com/Sylius/Sylius/issues/897