Browse Source

feat:后台-修改技师基本信息

刘学玺 3 months ago
parent
commit
8043f74b3b
1 changed files with 25 additions and 0 deletions
  1. 25 0
      app/Models/VCoachInfo.php

+ 25 - 0
app/Models/VCoachInfo.php

@@ -0,0 +1,25 @@
+<?php
+
+namespace App\Models;
+
+use Illuminate\Database\Eloquent\Model;
+
+class VCoachInfo extends Model
+{
+    protected $table = 'v_coach_info';
+
+    public $timestamps = false;
+
+    protected $guarded = [];
+
+    /**
+     * 应该被转换成原生类型的属性
+     *
+     * @var array
+     */
+    protected $casts = [
+        'life_photos' => 'array',
+        'portrait_images' => 'array',
+        'id_card_images' => 'array',
+    ];
+}