wugg il y a 7 mois
Parent
commit
026679b228
2 fichiers modifiés avec 32 ajouts et 0 suppressions
  1. 18 0
      app/admin/model/GoodTax.php
  2. 14 0
      app/model/TaxCategory.php

+ 18 - 0
app/admin/model/GoodTax.php

@@ -0,0 +1,18 @@
+<?php
+declare (strict_types = 1);
+
+namespace app\admin\model;
+
+use think\Model;use think\model\concern\SoftDelete;
+
+/**
+ * @mixin \think\Model
+ */
+class GoodTax extends Model
+{
+    use SoftDelete;
+    protected $createTime = 'createTime';
+    protected $updateTime = 'updateTime';
+    protected $deleteTime = 'delete_time';
+    protected $autoWriteTimestamp = 'datetime';
+}

+ 14 - 0
app/model/TaxCategory.php

@@ -0,0 +1,14 @@
+<?php
+declare (strict_types = 1);
+
+namespace app\model;
+
+use think\Model;
+
+/**
+ * @mixin \think\Model
+ */
+class TaxCategory extends Base
+{
+
+}