|
|
@@ -0,0 +1,48 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+namespace app\model\saas;
|
|
|
+
|
|
|
+use app\extra\basic\Model;
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @property integer $id (主键)
|
|
|
+ * @property integer $agent_id 代理id
|
|
|
+ * @property integer $store_id 店铺id
|
|
|
+ * @property string $name
|
|
|
+ * @property mixed $print_id 打印机ID
|
|
|
+ * @property integer $status
|
|
|
+ * @property mixed $create_at
|
|
|
+ */
|
|
|
+class SaasWarehouse extends Model
|
|
|
+{
|
|
|
+ /**
|
|
|
+ * The connection name for the model.
|
|
|
+ *
|
|
|
+ * @var string|null
|
|
|
+ */
|
|
|
+ protected $connection = 'mysql';
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The table associated with the model.
|
|
|
+ *
|
|
|
+ * @var string
|
|
|
+ */
|
|
|
+ protected string $table = "saas_warehouse";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The primary key associated with the table.
|
|
|
+ *
|
|
|
+ * @var string
|
|
|
+ */
|
|
|
+ protected string $primaryKey = "id";
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Indicates if the model should be timestamped.
|
|
|
+ *
|
|
|
+ * @var bool
|
|
|
+ */
|
|
|
+ public bool $timestamps = false;
|
|
|
+
|
|
|
+
|
|
|
+}
|