]> Raphaël G. Git Repositories - airbundle/commitdiff
Add mail id and ip to user entity
authorRaphaël Gertz <git@rapsys.eu>
Fri, 20 Nov 2026 08:31:16 +0000 (09:31 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 20 Nov 2026 08:31:16 +0000 (09:31 +0100)
Entity/User.php

index 178bcec8a9799c96a517b1974ccbfe7803dec95e..3a1f63f9ed44bb2d1b56828e6d715f6d80c4409a 100644 (file)
@@ -46,6 +46,16 @@ class User extends BaseUser {
         */
        private ?string $zipcode = null;
 
+       /**
+        * Mail id
+        */
+       private ?string $mid = null;
+
+       /**
+        * Mail ip
+        */
+       private ?string $mip = null;
+
        /**
         * Applications collection
         */
@@ -216,6 +226,50 @@ class User extends BaseUser {
                return $this->zipcode;
        }
 
+       /**
+        * Set mail id
+        *
+        * @param string $mid
+        *
+        * @return User
+        */
+       public function setMid(?string $mid): User {
+               $this->mid = $mid;
+
+               return $this;
+       }
+
+       /**
+        * Get mail id
+        *
+        * @return string
+        */
+       public function getMid(): ?string {
+               return $this->mid;
+       }
+
+       /**
+        * Set mail ip
+        *
+        * @param string $mip
+        *
+        * @return User
+        */
+       public function setMip(?string $mip): User {
+               $this->mip = $mip;
+
+               return $this;
+       }
+
+       /**
+        * Get mail ip
+        *
+        * @return string
+        */
+       public function getMip(): ?string {
+               return $this->mip;
+       }
+
        /**
         * Add application
         *