فهرست منبع

服务包模型

jingyuzhi 4 سال پیش
والد
کامیت
adc0d7ced7
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      app/Models/ServicePack.php

+ 4 - 0
app/Models/ServicePack.php

xqd
@@ -10,6 +10,10 @@ namespace App\Models;
 
 class ServicePack extends BaseModel
 {
+    protected $table = 'service_packs';
+    protected $casts = [
+        'label' => 'json',
+    ];
     public function team()
     {
         return $this->belongsTo(Team::class);