芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/app/Models/Dashboard.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; class Dashboard extends BaseModel { use HasFactory; /** * The database table used by the model. * * @var string */ protected $table = 'dashboard_configs'; /** * The database primary key used by the model. * * @var string */ protected $primaryKey = 'user_id'; /** * The primanry key is not incrementing * * @var bool */ public $incrementing = false; /** * The attributes that should be casted to native types. * * @var array */ protected $casts = [ 'upgrade_plan_notice' => 'boolean', ]; /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = []; /** * Get the user. */ public function user() { return $this->belongsTo(User::class, 'user_id'); } }
Page is not found
Oops! Page not found.
Sorry, an error has occured, Requested page not found!
Back To Homepage