Olivier Massot hace 1 año
padre
commit
9234e3f599
Se han modificado 2 ficheros con 10 adiciones y 10 borrados
  1. 5 5
      src/Entity/Access/Access.php
  2. 5 5
      src/Entity/Person/Person.php

+ 5 - 5
src/Entity/Access/Access.php

@@ -301,7 +301,7 @@ class Access implements UserInterface, PasswordAuthenticatedUserInterface
     private Collection $tags;
 
     #[ORM\Column(type: 'date', nullable: true)]
-    private ?\DateTimeInterface $creationDate = null;
+    private ?\DateTimeInterface $createDate = null;
 
     #[ORM\Column(nullable: true)]
     private ?int $createdBy = null;
@@ -2145,14 +2145,14 @@ class Access implements UserInterface, PasswordAuthenticatedUserInterface
         return $this;
     }
 
-    public function getCreationDate(): ?\DateTimeInterface
+    public function getCreateDate(): ?\DateTimeInterface
     {
-        return $this->creationDate;
+        return $this->createDate;
     }
 
-    public function setCreationDate(?\DateTimeInterface $creationDate): self
+    public function setCreateDate(?\DateTimeInterface $createDate): self
     {
-        $this->creationDate = $creationDate;
+        $this->createDate = $createDate;
         return $this;
     }
 

+ 5 - 5
src/Entity/Person/Person.php

@@ -111,7 +111,7 @@ class Person implements UserInterface, PasswordAuthenticatedUserInterface
     private array $confidentiality = [];
 
     #[ORM\Column(type: 'date', nullable: true)]
-    private ?\DateTimeInterface $creationDate = null;
+    private ?\DateTimeInterface $createDate = null;
 
     #[ORM\Column(nullable: true)]
     private ?int $createdBy = null;
@@ -620,14 +620,14 @@ class Person implements UserInterface, PasswordAuthenticatedUserInterface
         return $this;
     }
 
-    public function getCreationDate(): ?\DateTimeInterface
+    public function getCreateDate(): ?\DateTimeInterface
     {
-        return $this->creationDate;
+        return $this->createDate;
     }
 
-    public function setCreationDate(?\DateTimeInterface $creationDate): self
+    public function setCreateDate(?\DateTimeInterface $createDate): self
     {
-        $this->creationDate = $creationDate;
+        $this->createDate = $createDate;
         return $this;
     }