Page MenuHomePhorge

ResourceSetting.php
No OneTemporary

ResourceSetting.php

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* A collection of settings for a Resource.
*
* @property int $id
* @property int $resource_id
* @property string $key
* @property string $value
*/
class ResourceSetting extends Model
{
/** @var array<int, string> The attributes that are mass assignable */
protected $fillable = ['resource_id', 'key', 'value'];
/**
* The resource to which this setting belongs.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function resource()
{
return $this->belongsTo(Resource::class, 'resource_id', 'id');
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Aug 25, 3:22 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
217754
Default Alt Text
ResourceSetting.php (656 B)

Event Timeline