diff --git a/config/packages/mapping/ActivityEntity.orm.xml b/config/packages/mapping/ActivityEntity.orm.xml index df8f8b9..3f1baa3 100644 --- a/config/packages/mapping/ActivityEntity.orm.xml +++ b/config/packages/mapping/ActivityEntity.orm.xml @@ -2,12 +2,13 @@ - - - - - - + + + + + + + \ No newline at end of file diff --git a/src/Entity/ActivityEntity.php b/src/Entity/ActivityEntity.php index 276ca4f..dd00b68 100644 --- a/src/Entity/ActivityEntity.php +++ b/src/Entity/ActivityEntity.php @@ -3,6 +3,7 @@ use App\Helper\StringGenerationHelper; use DateTime; +use App\Enum\StatusEnum; /** * Entity for activities @@ -31,6 +32,9 @@ /** @var ActorEntity|NULL The actor of the activity */ protected $actor = null; + /** @var string Status of the activity */ + protected $status = StatusEnum::OPEN; + /** * Get the unique ID the entity *