summaryrefslogtreecommitdiff
path: root/src/Models/User/Contact.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Models/User/Contact.php')
-rw-r--r--src/Models/User/Contact.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/Models/User/Contact.php b/src/Models/User/Contact.php
new file mode 100644
index 00000000..8adf9df7
--- /dev/null
+++ b/src/Models/User/Contact.php
@@ -0,0 +1,26 @@
+<?php
+
+namespace Engelsystem\Models\User;
+
+/**
+ * @property string $dect
+ * @property string $email
+ * @property string $mobile
+ *
+ * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\Contact whereDect($value)
+ * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\Contact whereEmail($value)
+ * @method static \Illuminate\Database\Query\Builder|\Engelsystem\Models\User\Contact whereMobile($value)
+ */
+class Contact extends HasUserModel
+{
+ /** @var string The table associated with the model */
+ protected $table = 'users_contact';
+
+ /** The attributes that are mass assignable */
+ protected $fillable = [
+ 'user_id',
+ 'dect',
+ 'email',
+ 'mobile',
+ ];
+}