SoftDeleteable.php 481 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Gedmo\Mapping\Annotation;
  3. use Doctrine\Common\Annotations\Annotation;
  4. /**
  5. * Group annotation for SoftDeleteable extension
  6. *
  7. * @author Gustavo Falco <comfortablynumb84@gmail.com>
  8. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  9. *
  10. * @Annotation
  11. * @Target("CLASS")
  12. */
  13. final class SoftDeleteable extends Annotation
  14. {
  15. /** @var string */
  16. public $fieldName = 'deletedAt';
  17. /** @var bool */
  18. public $timeAware = false;
  19. }