Explorar el Código

产品 结束

cqpCow hace 1 año
padre
commit
edc5be0ded
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  1. 13 0
      app/Model/ProductInventory.php

+ 13 - 0
app/Model/ProductInventory.php

@@ -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';
+}