Ver Fonte

产品 结束

cqpCow há 1 ano atrás
pai
commit
edc5be0ded
1 ficheiros alterados com 13 adições e 0 exclusões
  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';
+}