芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/public_html/app/Models/Admin/Service.php
[ 'source' => 'title', 'maxLength' => null, 'maxLengthKeepWords' => true, 'method' => null, 'separator' => '-', 'unique' => true, 'uniqueSuffix' => null, 'includeTrashed' => false, 'reserved' => null, 'onUpdate' => true ] ]; } /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'language_id', 'category_id', 'style', 'category_name', 'type', 'icon', 'section_image', 'section_image_2', 'title', 'short_description', 'service_slug', 'button_name', 'button_url', 'status', 'order', ]; public function service_category() { return $this->belongsTo('App\Models\Admin\ServiceCategory','category_id','id'); } }