|
@@ -0,0 +1,13 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+namespace App\Model;
|
|
|
+
|
|
|
+use Illuminate\Database\Eloquent\Model;
|
|
|
+
|
|
|
+class ProductInventory extends Model
|
|
|
+{
|
|
|
+ protected $table = "product_inventory"; //指定表
|
|
|
+ const CREATED_AT = 'crt_time';
|
|
|
+ const UPDATED_AT = 'upd_time';
|
|
|
+ protected $dateFormat = 'U';
|
|
|
+}
|