|
|
@@ -0,0 +1,31 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+namespace app\model;
|
|
|
+
|
|
|
+use support\Model;
|
|
|
+
|
|
|
+class User extends Model
|
|
|
+{
|
|
|
+ /**
|
|
|
+ * The table associated with the model.
|
|
|
+ *
|
|
|
+ * @var string
|
|
|
+ */
|
|
|
+ protected $table = null;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The primary key associated with the table.
|
|
|
+ *
|
|
|
+ * @var string
|
|
|
+ */
|
|
|
+ protected $primaryKey = 'id';
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Indicates if the model should be timestamped.
|
|
|
+ *
|
|
|
+ * @var bool
|
|
|
+ */
|
|
|
+ public $timestamps = false;
|
|
|
+
|
|
|
+
|
|
|
+}
|